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:
committed by
Martin Baulig
parent
91e94f9c0d
commit
1979cb8104
@@ -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@'.
|
||||
|
@@ -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__
|
||||
|
@@ -26,6 +26,8 @@
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <glibtop_private.h>
|
||||
|
||||
int
|
||||
s_open(const char *file, int mode)
|
||||
{
|
||||
|
Reference in New Issue
Block a user