Changeset 021c508 in mainline for uspace/lib/posix/unistd.h


Ignore:
Timestamp:
2011-06-24T02:17:09Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d185132
Parents:
4d4988e (diff), 67c64b9f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge libposix changes.

File:
1 edited

Legend:

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

    r4d4988e r021c508  
    5858
    5959/* Process Identification */
    60 #define getpid task_get_id
     60extern posix_pid_t posix_getpid(void);
    6161extern posix_uid_t posix_getuid(void);
    6262extern posix_gid_t posix_getgid(void);
     
    112112        _PC_VDISABLE
    113113};
     114extern long posix_pathconf(const char *path, int name);
     115
     116/* Creating a Process */
     117extern posix_pid_t posix_fork(void);
     118
     119/* Executing a File */
     120extern int posix_execv(const char *path, char *const argv[]);
     121extern int posix_execvp(const char *file, char *const argv[]);
     122
     123/* Creating a Pipe */
     124extern int posix_pipe(int fildes[2]);
    114125
    115126#ifndef LIBPOSIX_INTERNAL
     
    121132        #define getpagesize posix_getpagesize
    122133
     134        #define getpid posix_getpid
    123135        #define getuid posix_getuid
    124136        #define getgid posix_getgid
     
    127139
    128140        #define sysconf posix_sysconf
     141
     142        #define pathconf posix_pathconf
     143
     144        #define fork posix_fork
     145
     146        #define execv posix_execv
     147        #define execvp posix_execvp
     148
     149        #define pipe posix_pipe
    129150#endif
    130151
Note: See TracChangeset for help on using the changeset viewer.