]> Zhao Yanbai Git Server - minix.git/commitdiff
inlcude: new prototypes
authorBen Gras <ben@minix3.org>
Wed, 9 Jun 2010 12:53:09 +0000 (12:53 +0000)
committerBen Gras <ben@minix3.org>
Wed, 9 Jun 2010 12:53:09 +0000 (12:53 +0000)
include/grp.h
include/pwd.h
include/unistd.h

index 41dc69baa41b792065b10ae8296eb926534748b1..45f8afa0792686ade81cb7003697c31049d03fff 100644 (file)
@@ -23,6 +23,7 @@ _PROTOTYPE( void endgrent, (void)                                     );
 _PROTOTYPE( struct group *getgrent, (void)                             );
 _PROTOTYPE( int setgrent, (void)                                       );
 _PROTOTYPE( void setgrfile, (const char *_file)                                );
+_PROTOTYPE( const char *group_from_gid, (gid_t, int)                    );
 #endif
 
 #endif /* _GRP_H */
index 658d6e5c6abe9dac3f71590dae654dd714230efb..a5349759810cbe299a7f4a56f4ae1960c9190f15 100644 (file)
@@ -28,6 +28,7 @@ _PROTOTYPE( void endpwent, (void)                                     );
 _PROTOTYPE( struct passwd *getpwent, (void)                            );
 _PROTOTYPE( int setpwent, (void)                                       );
 _PROTOTYPE( void setpwfile, (const char *_file)                                );
+_PROTOTYPE( const char *user_from_uid, (uid_t, int)                    );
 #endif
 
 #endif /* _PWD_H */
index e5b84a903bd3db8fc51dd9435ca1e4aefb6ad470..df28fff5789d18c09809dbd0a1fbe5e9d0ed889d 100644 (file)
@@ -207,7 +207,9 @@ _PROTOTYPE( gid_t getngid, (endpoint_t proc_ep)                             );
 _PROTOTYPE( int getpagesize, (void)                                    );
 _PROTOTYPE( int setgroups, (int ngroups, const gid_t *gidset)          );
 _PROTOTYPE( int initgroups, (const char *name, gid_t basegid)          );
-_PROTOTYPE( void *setmode, (const char *));
+_PROTOTYPE( void *setmode, (const char *)                              );
+_PROTOTYPE( mode_t  getmode, (const void *, mode_t)                    );
+_PROTOTYPE( void    strmode, (mode_t, char *)                          );
 
 #endif