comparison lib-src/ntlib.h @ 108902:1f795f817d05

Merge from mainline.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Sun, 06 Jun 2010 22:46:17 +0000
parents d86e65007470
children 68ca98ae70fb
comparison
equal deleted inserted replaced
108901:10652acf752a 108902:1f795f817d05
40 unsigned getgid (); 40 unsigned getgid ();
41 int setuid (unsigned uid); 41 int setuid (unsigned uid);
42 int setegid (unsigned gid); 42 int setegid (unsigned gid);
43 char * getpass (const char * prompt); 43 char * getpass (const char * prompt);
44 int fchown (int fd, unsigned uid, unsigned gid); 44 int fchown (int fd, unsigned uid, unsigned gid);
45
46 #ifndef BSTRING
47 #define bzero(b, l) memset(b, 0, l)
48 #define bcopy(s, d, l) memcpy(d, s, l)
49 #define bcmp(a, b, l) memcmp(a, b, l)
50 #endif
51 45
52 /* redirect or undo interceptions created by config.h */ 46 /* redirect or undo interceptions created by config.h */
53 #undef access 47 #undef access
54 #define access _access 48 #define access _access
55 #undef chdir 49 #undef chdir