#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/ioctl.h>
#include <sys/mount.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <os.h>
Go to the source code of this file.
|
int | os_stat_fd (const int fd, struct uml_stat *ubuf) |
|
int | os_stat_file (const char *file_name, struct uml_stat *ubuf) |
|
int | os_access (const char *file, int mode) |
|
int | os_ioctl_generic (int fd, unsigned int cmd, unsigned long arg) |
|
int | os_get_ifname (int fd, char *namebuf) |
|
int | os_set_slip (int fd) |
|
int | os_mode_fd (int fd, int mode) |
|
int | os_file_type (char *file) |
|
int | os_file_mode (const char *file, struct openflags *mode_out) |
|
int | os_open_file (const char *file, struct openflags flags, int mode) |
|
int | os_connect_socket (const char *name) |
|
void | os_close_file (int fd) |
|
int | os_seek_file (int fd, unsigned long long offset) |
|
int | os_read_file (int fd, void *buf, int len) |
|
int | os_write_file (int fd, const void *buf, int len) |
|
int | os_file_size (const char *file, unsigned long long *size_out) |
|
int | os_file_modtime (const char *file, unsigned long *modtime) |
|
int | os_set_exec_close (int fd) |
|
int | os_pipe (int *fds, int stream, int close_on_exec) |
|
int | os_set_fd_async (int fd) |
|
int | os_clear_fd_async (int fd) |
|
int | os_set_fd_block (int fd, int blocking) |
|
int | os_accept_connection (int fd) |
|
int | os_shutdown_socket (int fd, int r, int w) |
|
int | os_rcv_fd (int fd, int *helper_pid_out) |
|
int | os_create_unix_socket (const char *file, int len, int close_on_exec) |
|
void | os_flush_stdout (void) |
|
int | os_lock_file (int fd, int excl) |
|
unsigned | os_major (unsigned long long dev) |
|
unsigned | os_minor (unsigned long long dev) |
|
unsigned long long | os_makedev (unsigned major, unsigned minor) |
|
int os_accept_connection |
( |
int |
fd | ) |
|
int os_clear_fd_async |
( |
int |
fd | ) |
|
int os_ioctl_generic |
( |
int |
fd, |
|
|
unsigned int |
cmd, |
|
|
unsigned long |
arg |
|
) |
| |
unsigned os_major |
( |
unsigned long long |
dev | ) |
|
unsigned long long os_makedev |
( |
unsigned |
major, |
|
|
unsigned |
minor |
|
) |
| |
unsigned os_minor |
( |
unsigned long long |
dev | ) |
|
int os_rcv_fd |
( |
int |
fd, |
|
|
int * |
helper_pid_out |
|
) |
| |
int os_set_exec_close |
( |
int |
fd | ) |
|