Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/unistd.h

    r2a53f71 r4cf8ca6  
    6060/* Working Directory */
    6161extern char *posix_getcwd(char *buf, size_t size);
    62 extern int posix_chdir(const char *path);
    6362
    6463/* Query Memory Parameters */
     
    7069extern posix_gid_t posix_getgid(void);
    7170
    72 /* File Manipulation */
    73 extern int posix_close(int fildes);
     71/* File Input/Output */
    7472extern ssize_t posix_read(int fildes, void *buf, size_t nbyte);
    75 extern ssize_t posix_write(int fildes, const void *buf, size_t nbyte);
    76 extern int posix_fsync(int fildes);
    77 extern int posix_ftruncate(int fildes, posix_off_t length);
    78 extern int posix_rmdir(const char *path);
     73
     74/* Deleting Files */
    7975extern int posix_unlink(const char *path);
    80 extern int posix_dup(int fildes);
    81 extern int posix_dup2(int fildes, int fildes2);
    8276
    8377/* Standard Streams */
     
    150144
    151145        #define getcwd posix_getcwd
    152         #define chdir posix_chdir
    153146
    154147        #define isatty posix_isatty
     
    161154        #define getgid posix_getgid
    162155
    163         #define close posix_close
    164156        #define read posix_read
    165         #define write posix_write
    166         #define fsync posix_fsync
    167         #define ftruncate posix_ftruncate
    168         #define rmdir posix_rmdir
     157
    169158        #define unlink posix_unlink
    170         #define dup posix_dup
    171         #define dup2 posix_dup2
    172159
    173160        #define access posix_access
Note: See TracChangeset for help on using the changeset viewer.