1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix getpagesize(2) visibility in <unistd.h>.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-04-02 16:47:09 +02:00
parent 46105fd260
commit 580418341c

View file

@ -358,6 +358,7 @@ uid_t geteuid(void);
int gethostname(char*, size_t); int gethostname(char*, size_t);
char* getlogin(void); char* getlogin(void);
int getlogin_r(char*, size_t); int getlogin_r(char*, size_t);
size_t getpagesize(void);
pid_t getpgid(pid_t); pid_t getpgid(pid_t);
pid_t getpid(void); pid_t getpid(void);
pid_t getppid(void); pid_t getppid(void);
@ -400,7 +401,6 @@ ssize_t write(int, const void*, size_t);
#if defined(_SORTIX_SOURCE) #if defined(_SORTIX_SOURCE)
int alarmns(const struct timespec* delay, struct timespec* odelay); int alarmns(const struct timespec* delay, struct timespec* odelay);
int execvpe(const char*, char* const [], char* const []); int execvpe(const char*, char* const [], char* const []);
size_t getpagesize(void);
int memstat(size_t* memused, size_t* memtotal); int memstat(size_t* memused, size_t* memtotal);
int mkpartition(int fd, off_t start, off_t length); int mkpartition(int fd, off_t start, off_t length);
pid_t sfork(int flags); pid_t sfork(int flags);