Added function prototypes for everything from safeio.c.

1999-12-25  Martin Baulig  <martin@home-of-linux.org>

	* glibtop_private.h: Added function prototypes for everything
	from safeio.c.
This commit is contained in:
Martin Baulig
1999-12-25 18:46:06 +00:00
committed by Martin Baulig
parent 91e94f9c0d
commit 1979cb8104
3 changed files with 15 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
1999-12-25 Martin Baulig <martin@home-of-linux.org>
* glibtop_private.h: Added function prototypes for everything
from safeio.c.
1999-10-17 Martin Baulig <martin@home-of-linux.org>
* Makefile.am (libgtop_sysdeps_la_LIBADD): Added `@DL_LIB@'.

View File

@@ -61,6 +61,14 @@ int glibtop_get_proc_credentials_s(glibtop *, struct prcred *, gid_t *, pid_t);
/* Reread kstat chains */
void glibtop_get_kstats(glibtop *);
/* safeio.c */
int s_open (const char *, int);
int s_stat (const char *, struct stat *);
int s_close (int);
ssize_t s_pread (int, void *, size_t, off_t);
int s_closedir (DIR *);
END_LIBGTOP_DECLS
#endif __GLIBTOP_PRIVATE_H__

View File

@@ -26,6 +26,8 @@
#include <dirent.h>
#include <errno.h>
#include <glibtop_private.h>
int
s_open(const char *file, int mode)
{