Added fchdir() system call, with corresponding manpage, Changelog and

system include modifications.
This commit is contained in:
Ben Gras
2005-06-29 19:28:26 +00:00
parent 62f7f9e6d2
commit af27dc0cf7
8 changed files with 47 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#define NCALLS 86 /* number of system calls allowed */
#define NCALLS 87 /* number of system calls allowed */
#define EXIT 1
#define FORK 2
@@ -74,3 +74,4 @@
#define ALLOCMEM 83 /* to PM */
#define FREEMEM 84 /* to PM */
#define SELECT 85 /* to FS */
#define FCHDIR 86 /* to FS */

View File

@@ -85,6 +85,7 @@ _PROTOTYPE( void _exit, (int _status) );
_PROTOTYPE( int access, (const char *_path, int _amode) );
_PROTOTYPE( unsigned int alarm, (unsigned int _seconds) );
_PROTOTYPE( int chdir, (const char *_path) );
_PROTOTYPE( int fchdir, (int fd) );
_PROTOTYPE( int chown, (const char *_path, _mnx_Uid_t _owner, _mnx_Gid_t _group) );
_PROTOTYPE( int close, (int _fd) );
_PROTOTYPE( char *ctermid, (char *_s) );