#include <Macros.h>
#include <stdio.h>
#include "sys/types.h"
Go to the source code of this file.
|
#define | _POSIX_VERSION 200809L |
| Integer value indicating version of this standard (C-language binding) to which the implementation conforms. More...
|
|
#define | _POSIX2_VERSION 200809L |
| Integer value indicating version of the Shell and Utilities volume of POSIX.1 to which the implementation conforms. More...
|
|
|
C pid_t | getpid () |
| Get the process ID. More...
|
|
C pid_t | getppid () |
| Get parent process ID. More...
|
|
C ssize_t | read (int fildes, void *buf, size_t nbyte) |
| Read from a file. More...
|
|
C ssize_t | write (int fildes, const void *buf, size_t nbyte) |
| Write on a file. More...
|
|
C int | close (int fildes) |
| Close a file descriptor. More...
|
|
C off_t | lseek (int fildes, off_t offset, int whence) |
| Move the read/write file offset. More...
|
|
C int | forkexec (const char *path, const char *argv[]) |
| Create a new process and execute program. More...
|
|
C int | spawn (Address program, Size programSize, const char *argv[]) |
| Create a new process using in-memory image. More...
|
|
C int | gethostname (char *name, size_t namelen) |
| Get name of current host. More...
|
|
C char * | getcwd (char *buf, size_t size) |
| Get the pathname of the current working directory. More...
|
|
C int | chdir (const char *path) |
| Change working directory. More...
|
|
C int | unlink (const char *path) |
| Remove a file from the filesystem. More...
|
|
C unsigned int | sleep (unsigned int seconds) |
| Sleep for the specified number of seconds. More...
|
|