|
static void | abort () |
|
static int | accept (int sockfd, struct sockaddr *addr, socklen_t *addrlen) |
|
static int | access (const char *pathname, int mode) |
|
static int | atoi (const char *nptr) |
|
static int | backtrace (void **array, int size) |
|
static char ** | backtrace_symbols (void *const *array, int size) throw () |
|
static void * | calloc (size_t nmemb, size_t size) |
|
static int | close (int fd) |
|
static int | connect (int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen) |
|
static int | dlclose (void *handle) |
|
static char * | dlerror (void) |
|
static void * | dlopen (const char *filename, int flag) |
|
static void * | dlsym (void *handle, const char *symbol) |
|
static int | fclose (FILE *fp) |
|
static FILE * | fopen (const char *path, const char *mode) |
|
static int | vfprintf (FILE *stream, const char *format, va_list arg) |
|
static size_t | fread (void *ptr, size_t size, size_t nmemb, FILE *stream) |
|
static void | free (void *ptr) |
|
static char * | getcwd (char *buf, size_t size) |
|
static char * | getenv (const char *name) |
|
static int | gethostname (char *name, size_t len) |
|
static int | getloadavg (double loadavg[], int nelem) |
|
static int | getpagesize (void) |
|
static pid_t | getpid (void) |
|
static int | getsockname (int s, struct sockaddr *name, socklen_t *namelen) |
|
static int | getsockopt (int s, int level, int optname, void *optval, socklen_t *optlen) |
|
static int | listen (int sockfd, int backlog) |
|
static void * | malloc (size_t size) |
|
static void * | memcpy (void *dest, const void *src, size_t n) |
|
static void * | memset (void *s, int c, size_t n) |
|
static int | mprotect (void *addr, size_t len, int prot) |
|
static ssize_t | readlink (const char *path, char *buf, size_t bufsiz) |
|
static int | scandir (const char *dir, struct dirent ***namelist, int(*filter)(const struct dirent *), int(*compar)(const void *, const void *)) |
|
static ssize_t | send (int s, const void *buf, size_t len, int flags) |
|
static int | setsockopt (int s, int level, int optname, const void *optval, socklen_t optlen) |
|
static int | shutdown (int s, int how) |
|
static int | socket (int domain, int type, int protocol) |
|
static int | stat (const char *path, struct stat *buf) |
|
static char * | strcat (char *dest, const char *src) |
|
static int | strcmp (const char *s1, const char *s2) |
|
static char * | strcpy (char *dest, const char *src) |
|
static char * | strdup (const char *s) |
|
static size_t | strlen (const char *s) |
|
static char * | strerror (int errnum) |
|
static void | abort (const char *text,...) |
| Prints an error message and aborts the VM. More...
|
|
static void | abort_errnum (int errnum, const char *text,...) |
| Prints an error message, appends ":" plus the strerror-message of errnum and aborts the VM. More...
|
|
static void | abort_errno (const char *text,...) |
| Equal to abort_errnum, but uses errno to get the error number. More...
|
|
static char * | getcwd (void) |
| Return the current working directory. More...
|
|
static void * | mmap_anonymous (void *addr, size_t len, int prot, int flags) |
| Maps anonymous memory, even on systems not defining MAP_ANON(YMOUS). More...
|
|
static void | print_backtrace () |
| Print a C backtrace. More...
|
|
static int | processors_online () |
| Returns the number of online processors in the system. More...
|
|
static void | shouldnotreach (const char *text,...) |
| Prints a should not reach message and aborts the VM. More...
|
|
static void | shouldnotreach () |
|
static void | unimplemented (const char *text,...) |
| Prints an unimplemented message and aborts the VM. More...
|
|
static void | unimplemented () |
|
template<class _F1 , class _F2 > |
static int | call_scandir (int(*scandir)(const char *, struct dirent ***, _F1, _F2), const char *dir, struct dirent ***namelist, int(*filter)(const struct dirent *), int(*compar)(const void *, const void *)) |
|
Definition at line 123 of file os.hpp.