|
extern long io_setup(unsigned nr_events, aio_context_t *ctx_idp); |
|
extern int io_destroy(aio_context_t ctx_id); |
|
extern int io_submit(aio_context_t ctx_id, long nr, struct iocb **iocbpp); |
|
extern int io_cancel(aio_context_t ctx_id, struct iocb *iocb, struct io_event *result); |
|
extern int io_getevents(aio_context_t ctx_id, long min_nr, long nr, struct io_event *events, struct timespec *timeout); |
|
extern int setxattr(const char *path, const char *name, const void *value, size_t size, int flags); |
|
extern int lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags); |
|
extern int fsetxattr(int fd, const char *name, const void *value, size_t size, int flags); |
|
extern ssize_t getxattr(const char *path, const char *name, void *value, size_t size); |
|
extern ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size); |
|
extern ssize_t fgetxattr(int fd, const char *name, void *value, size_t size); |
|
extern ssize_t listxattr(const char *path, char *list, size_t size); |
|
extern ssize_t llistxattr(const char *path, char *list, size_t size); |
|
extern ssize_t flistxattr(int fd, char *list, size_t size); |
|
extern int removexattr(const char *path, const char *name); |
|
extern int lremovexattr(const char *path, const char *name); |
|
extern int fremovexattr(int fd, const char *name); |
|
extern int lookup_dcookie(u64 cookie, char *buffer, size_t len); |
|
extern int epoll_create1(int flags); |
|
extern int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event); |
|
extern int epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask); |
|
extern int dup(int oldfd); |
|
extern int dup3(int oldfd, int newfd, int flags); |
|
extern int fcntl(int fd, int cmd, ... /* arg */ ); |
|
extern int inotify_init1(int flags); |
|
extern int inotify_add_watch(int fd, const char *pathname, uint32_t mask); |
|
extern int inotify_rm_watch(int fd, int wd); |
|
extern int ioctl(int fd, unsigned long request, ...); |
|
extern int ioprio_set(int which, int who, int ioprio); |
|
extern int ioprio_get(int which, int who); |
|
extern int flock(int fd, int operation); |
|
extern int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev); |
|
extern int mkdirat(int dirfd, const char *pathname, mode_t mode); |
|
extern int unlinkat(int dirfd, const char *pathname, int flags); |
|
extern int symlinkat(const char *target, int newdirfd, const char *linkpath); |
|
extern int linkat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, int flags); |
|
extern int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath); |
|
extern int umount(const char *target); |
|
extern int mount(const char *source, const char *target, const char *filesystemtype, unsigned long mountflags, const void *data); |
|
extern int pivot_root(const char *new_root, const char *put_old); |
|
extern int statfs(const char *path, struct statfs *buf); |
|
extern int fstatfs(int fd, struct statfs *buf); |
|
extern int truncate(const char *path, off_t length); |
|
extern int ftruncate(int fd, off_t length); |
|
extern int fallocate(int fd, int mode, off_t offset, off_t len); |
|
extern int faccessat(int dirfd, const char *pathname, int mode, int flags); |
|
extern int faccessat2(int dirfd, const char *pathname, int mode, int flags); |
|
extern int chdir(const char *path); |
|
extern int fchdir(int fd); |
|
extern int chroot(const char *path); |
|
extern int fchmod(int fd, mode_t mode); |
|
extern int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags); |
|
extern int fchownat(int dirfd, const char *pathname, uid_t owner, gid_t group, int flags); |
|
extern int fchown(int fd, uid_t owner, gid_t group); |
|
extern int openat(int dirfd, const char *pathname, int flags); |
|
extern int openat(int dirfd, const char *pathname, int flags, mode_t mode); |
|
extern long openat2(int dirfd, const char *pathname, struct open_how *how, size_t size); |
|
extern int close(int fd); |
|
extern int vhangup(void); |
|
extern int pipe2(int pipefd[2], int flags); |
|
extern int quotactl(int cmd, const char *special, int id, caddr_t addr); |
|
extern ssize_t getdents64(int fd, void *dirp, size_t count); |
|
extern off_t lseek(int fd, off_t offset, int whence); |
|
extern ssize_t read(int fd, void *buf, size_t count); |
|
extern ssize_t write(int fd, const void *buf, size_t count); |
|
extern ssize_t readv(int fd, const struct iovec *iov, int iovcnt); |
|
extern ssize_t writev(int fd, const struct iovec *iov, int iovcnt); |
|
extern ssize_t preadv(int fd, const struct iovec *iov, int iovcnt, off_t offset); |
|
extern ssize_t pwritev(int fd, const struct iovec *iov, int iovcnt, off_t offset); |
|
extern int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *tmo_p, const sigset_t *sigmask); |
|
extern ssize_t vmsplice(int fd, const struct iovec *iov, unsigned long nr_segs, unsigned int flags); |
|
extern ssize_t splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags); |
|
extern ssize_t tee(int fd_in, int fd_out, size_t len, unsigned int flags); |
|
extern ssize_t readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); |
|
extern void sync(void); |
|
extern int fsync(int fd); |
|
extern int fdatasync(int fd); |
|
extern int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags); |
|
extern int timerfd_create(int clockid, int flags); |
|
extern int timerfd_settime(int fd, int flags, const struct itimerspec *new_value, struct itimerspec *old_value); |
|
extern int timerfd_gettime(int fd, struct itimerspec *curr_value); |
|
extern int utimensat(int dirfd, const char *pathname, const struct timespec times[2], int flags); |
|
extern int acct(const char *filename); |
|
extern int capget(cap_user_header_t hdrp, cap_user_data_t datap); |
|
extern int capset(cap_user_header_t hdrp, const cap_user_data_t datap); |
|
extern int personality(unsigned long persona); |
|
extern void exit_group(int status); |
|
extern int waitid(idtype_t idtype, id_t id, siginfo_t *infop, int options); |
|
extern pid_t set_tid_address(int *tidptr); |
|
extern int unshare(int flags); |
|
extern long futex(uint32_t *uaddr, int futex_op, uint32_t val, const struct timespec *timeout, /* or: uint32_t val2 */ uint32_t *uaddr2, uint32_t val3); |
|
extern long get_robust_list(int pid, struct robust_list_head **head_ptr, size_t *len_ptr); |
|
extern long set_robust_list(struct robust_list_head *head, size_t len); |
|
extern int nanosleep(const struct timespec *req, struct timespec *rem); |
|
extern int getitimer(int which, struct itimerval *curr_value); |
|
extern int setitimer(int which, const struct itimerval *new_value, struct itimerval *old_value); |
|
extern long kexec_load(unsigned long entry, unsigned long nr_segments, struct kexec_segment *segments, unsigned long flags); |
|
extern int init_module(void *module_image, unsigned long len, const char *param_values); |
|
extern int delete_module(const char *name, int flags); |
|
extern int timer_create(clockid_t clockid, struct sigevent *sevp, timer_t *timerid); |
|
extern int timer_gettime(timer_t timerid, struct itimerspec *curr_value); |
|
extern int timer_getoverrun(timer_t timerid); |
|
extern int timer_settime(timer_t timerid, int flags, const struct itimerspec *new_value, struct itimerspec *old_value); |
|
extern int timer_delete(timer_t timerid); |
|
extern int clock_settime(clockid_t clockid, const struct timespec *tp); |
|
extern int clock_gettime(clockid_t clockid, struct timespec *tp); |
|
extern int clock_getres(clockid_t clockid, struct timespec *res); |
|
extern int clock_nanosleep(clockid_t clockid, int flags, const struct timespec *request, struct timespec *remain); |
|
extern int syslog(int type, char *bufp, int len); |
|
extern long ptrace(enum __ptrace_request request, pid_t pid, void *addr, void *data); |
|
extern int sched_setparam(pid_t pid, const struct sched_param *param); |
|
extern int sched_setscheduler(pid_t pid, int policy, const struct sched_param *param); |
|
extern int sched_getscheduler(pid_t pid); |
|
extern int sched_getparam(pid_t pid, struct sched_param *param); |
|
extern int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *mask); |
|
extern int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *mask); |
|
extern int sched_yield(void); |
|
extern int sched_get_priority_max(int policy); |
|
extern int sched_get_priority_min(int policy); |
|
extern int sched_rr_get_interval(pid_t pid, struct timespec *tp); |
|
extern long restart_syscall(void); |
|
extern int kill(pid_t pid, int sig); |
|
extern int tkill(int tid, int sig); |
|
extern int tgkill(int tgid, int tid, int sig); |
|
extern int sigaltstack(const stack_t *ss, stack_t *old_ss); |
|
extern int rt_sigprocmask(int how, const kernel_sigset_t *set, kernel_sigset_t *oldset, size_t sigsetsize); |
|
extern int rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *info); |
|
extern int setpriority(int which, id_t who, int prio); |
|
extern int getpriority(int which, id_t who); |
|
extern int reboot(int magic, int magic2, int cmd, void *arg); |
|
extern int reboot(int cmd); |
|
extern int setregid(gid_t rgid, gid_t egid); |
|
extern int setgid(gid_t gid); |
|
extern int setreuid(uid_t ruid, uid_t euid); |
|
extern int setuid(uid_t uid); |
|
extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); |
|
extern int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); |
|
extern int setresgid(gid_t rgid, gid_t egid, gid_t sgid); |
|
extern int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); |
|
extern int setfsuid(uid_t fsuid); |
|
extern int setfsgid(uid_t fsgid); |
|
extern clock_t times(struct tms *buf); |
|
extern int setpgid(pid_t pid, pid_t pgid); |
|
extern pid_t getpgid(pid_t pid); |
|
extern pid_t getsid(pid_t pid); |
|
extern pid_t setsid(void); |
|
extern int getgroups(int size, gid_t list[]); |
|
extern int setgroups(size_t size, const gid_t *list); |
|
extern int sethostname(const char *name, size_t len); |
|
extern int setdomainname(const char *name, size_t len); |
|
extern int getrlimit(int resource, struct rlimit *rlim); |
|
extern int setrlimit(int resource, const struct rlimit *rlim); |
|
extern int getrusage(int who, struct rusage *usage); |
|
extern mode_t umask(mode_t mask); |
|
extern int prctl(int option, unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5); |
|
extern int getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache); |
|
extern int gettimeofday(struct timeval *tv, struct timezone *tz); |
|
extern int settimeofday(const struct timeval *tv, const struct timezone *tz); |
|
extern int adjtimex(struct timex *buf); |
|
extern pid_t getpid(void); |
|
extern pid_t getppid(void); |
|
extern uid_t getuid(void); |
|
extern uid_t geteuid(void); |
|
extern gid_t getgid(void); |
|
extern gid_t getegid(void); |
|
extern pid_t gettid(void); |
|
extern int sysinfo(struct sysinfo *info); |
|
extern mqd_t mq_open(const char *name, int oflag); |
|
extern mqd_t mq_open(const char *name, int oflag, mode_t mode, struct mq_attr *attr); |
|
extern int mq_unlink(const char *name); |
|
extern int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout); |
|
extern ssize_t mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned int *msg_prio, const struct timespec *abs_timeout); |
|
extern int mq_notify(mqd_t mqdes, const struct sigevent *sevp); |
|
extern int mq_getsetattr(mqd_t mqdes, const struct mq_attr *newattr, struct mq_attr *oldattr); |
|
extern int msgget(key_t key, int msgflg); |
|
extern int msgctl(int msqid, int cmd, struct msqid_ds *buf); |
|
extern ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); |
|
extern int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); |
|
extern int semget(key_t key, int nsems, int semflg); |
|
extern int semctl(int semid, int semnum, int cmd, ...); |
|
extern int semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeout); |
|
extern int semop(int semid, struct sembuf *sops, size_t nsops); |
|
extern int shmget(key_t key, size_t size, int shmflg); |
|
extern int shmctl(int shmid, int cmd, struct shmid_ds *buf); |
|
extern int shmdt(const void *shmaddr); |
|
extern int socket(int domain, int type, int protocol); |
|
extern int socketpair(int domain, int type, int protocol, int sv[2]); |
|
extern int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen); |
|
extern int listen(int sockfd, int backlog); |
|
extern int accept(int sockfd, struct sockaddr *addr, socklen_t *addrlen); |
|
extern int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen); |
|
extern int getsockname(int sockfd, struct sockaddr *addr, socklen_t *addrlen); |
|
extern int getpeername(int sockfd, struct sockaddr *addr, socklen_t *addrlen); |
|
extern ssize_t sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *dest_addr, socklen_t addrlen); |
|
extern ssize_t recvfrom(int sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, socklen_t *addrlen); |
|
extern int setsockopt(int sockfd, int level, int optname, const void *optval, socklen_t optlen); |
|
extern int getsockopt(int sockfd, int level, int optname, void *optval, socklen_t *optlen); |
|
extern int shutdown(int sockfd, int how); |
|
extern ssize_t sendmsg(int sockfd, const struct msghdr *msg, int flags); |
|
extern ssize_t recvmsg(int sockfd, struct msghdr *msg, int flags); |
|
extern ssize_t readahead(int fd, off64_t offset, size_t count); |
|
extern int brk(void *addr); |
|
extern int munmap(void *addr, size_t length); |
|
extern key_serial_t add_key(const char *type, const char *description, const void *payload, size_t plen, key_serial_t keyring); |
|
extern key_serial_t request_key(const char *type, const char *description, const char *callout_info, key_serial_t dest_keyring); |
|
extern long keyctl(int operation, ...); |
|
extern int clone(int (*fn)(void *), void *stack, int flags, void *arg, ... /* pid_t *parent_tid, void *tls, pid_t *child_tid */ ); |
|
extern int clone(int (*fn)(void *), void *stack, int flags, void *arg, ... /* pid_t *parent_tid, void *tls, pid_t *child_tid */ ); |
|
extern int clone(int (*fn)(void *), void *stack, int flags, void *arg, ... /* pid_t *parent_tid, void *tls, pid_t *child_tid */ ); |
|
extern long clone3(struct clone_args *cl_args, size_t size); |
|
extern int execve(const char *pathname, char *const argv[], char *const envp[]); |
|
extern int swapon(const char *path, int swapflags); |
|
extern int swapoff(const char *path); |
|
extern int mprotect(void *addr, size_t len, int prot); |
|
extern int msync(void *addr, size_t length, int flags); |
|
extern int mlock(const void *addr, size_t len); |
|
extern int munlock(const void *addr, size_t len); |
|
extern int mlockall(int flags); |
|
extern int munlockall(void); |
|
extern int mincore(void *addr, size_t length, unsigned char *vec); |
|
extern int madvise(void *addr, size_t length, int advice); |
|
extern int remap_file_pages(void *addr, size_t size, int prot, size_t pgoff, int flags); |
|
extern long mbind(void *addr, unsigned long len, int mode, const unsigned long *nodemask, unsigned long maxnode, unsigned flags); |
|
extern long get_mempolicy(int *mode, unsigned long *nodemask, unsigned long maxnode, void *addr, unsigned long flags); |
|
extern long set_mempolicy(int mode, const unsigned long *nodemask, unsigned long maxnode); |
|
extern long migrate_pages(int pid, unsigned long maxnode, const unsigned long *old_nodes, const unsigned long *new_nodes); |
|
extern long move_pages(int pid, unsigned long count, void **pages, const int *nodes, int *status, int flags); |
|
extern int rt_tgsigqueueinfo(pid_t tgid, pid_t tid, int sig, siginfo_t *info); |
|
extern int perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags); |
|
extern int accept4(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags); |
|
extern int recvmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, int flags, struct timespec *timeout); |
|
extern pid_t wait4(pid_t pid, int *wstatus, int options, struct rusage *rusage); |
|
extern int fanotify_init(unsigned int flags, unsigned int event_f_flags); |
|
extern int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t mask, int dirfd, const char *pathname); |
|
extern int name_to_handle_at(int dirfd, const char *pathname, struct file_handle *handle, int *mount_id, int flags); |
|
extern int open_by_handle_at(int mount_fd, struct file_handle *handle, int flags); |
|
extern int clock_adjtime(clockid_t clk_id, struct timex *buf); |
|
extern int syncfs(int fd); |
|
extern int setns(int fd, int nstype); |
|
extern int pidfd_open(pid_t pid, unsigned int flags); |
|
extern int sendmmsg(int sockfd, struct mmsghdr *msgvec, unsigned int vlen, int flags); |
|
extern ssize_t process_vm_readv(pid_t pid, const struct iovec *local_iov, unsigned long liovcnt, const struct iovec *remote_iov, unsigned long riovcnt, unsigned long flags); |
|
extern ssize_t process_vm_writev(pid_t pid, const struct iovec *local_iov, unsigned long liovcnt, const struct iovec *remote_iov, unsigned long riovcnt, unsigned long flags); |
|
extern int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2); |
|
extern int finit_module(int fd, const char *param_values, int flags); |
|
extern int sched_setattr(pid_t pid, struct sched_attr *attr, unsigned int flags); |
|
extern int sched_getattr(pid_t pid, struct sched_attr *attr, unsigned int size, unsigned int flags); |
|
extern int renameat2(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, unsigned int flags); |
|
extern int seccomp(unsigned int operation, unsigned int flags, void *args); |
|
extern ssize_t getrandom(void *buf, size_t buflen, unsigned int flags); |
|
extern int memfd_create(const char *name, unsigned int flags); |
|
extern int bpf(int cmd, union bpf_attr *attr, unsigned int size); |
|
extern int execveat(int dirfd, const char *pathname, char *const argv[], char *const envp[], int flags); |
|
extern int userfaultfd(int flags); |
|
extern int membarrier(int cmd, unsigned int flags, int cpu_id); |
|
extern int mlock2(const void *addr, size_t len, int flags); |
|
extern ssize_t copy_file_range(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags); |
|
extern ssize_t preadv2(int fd, const struct iovec *iov, int iovcnt, off_t offset, int flags); |
|
extern ssize_t pwritev2(int fd, const struct iovec *iov, int iovcnt, off_t offset, int flags); |
|
extern int pkey_mprotect(void *addr, size_t len, int prot, int pkey); |
|
extern int pkey_alloc(unsigned int flags, unsigned int access_rights); |
|
extern int pkey_free(int pkey); |
|
extern int statx(int dirfd, const char *pathname, int flags, unsigned int mask, struct statx *statxbuf); |
|
extern int pidfd_send_signal(int pidfd, int sig, siginfo_t *info, unsigned int flags); |
|
extern int pidfd_getfd(int pidfd, int targetfd, unsigned int flags); |
|
extern int ioperm(unsigned long from, unsigned long num, int turn_on); |
|
extern int pciconfig_read(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void *buf); |
|
extern int pciconfig_write(unsigned long bus, unsigned long dfn, unsigned long off, unsigned long len, void *buf); |
|
extern int pciconfig_iobase(long which, unsigned long bus, unsigned long devfn); |
|
extern int spu_run(int fd, unsigned int *npc, unsigned int *event); |
|
extern int spu_create(const char *pathname, int flags, mode_t mode, int neighbor_fd); |
|
extern int open(const char *pathname, int flags); |
|
extern int open(const char *pathname, int flags, mode_t mode); |
|
extern int link(const char *oldpath, const char *newpath); |
|
extern int unlink(const char *pathname); |
|
extern int mknod(const char *pathname, mode_t mode, dev_t dev); |
|
extern int chmod(const char *pathname, mode_t mode); |
|
extern int chown(const char *pathname, uid_t owner, gid_t group); |
|
extern int mkdir(const char *pathname, mode_t mode); |
|
extern int rmdir(const char *pathname); |
|
extern int lchown(const char *pathname, uid_t owner, gid_t group); |
|
extern int access(const char *pathname, int mode); |
|
extern int rename(const char *oldpath, const char *newpath); |
|
extern int symlink(const char *target, const char *linkpath); |
|
extern int pipe(int pipefd[2]); |
|
extern int dup2(int oldfd, int newfd); |
|
extern int epoll_create(int size); |
|
extern int inotify_init(void); |
|
extern int eventfd(unsigned int initval, int flags); |
|
extern int signalfd(int fd, const sigset_t *mask, int flags); |
|
extern ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count); |
|
extern unsigned int alarm(unsigned int seconds); |
|
extern pid_t getpgrp(void); /* POSIX.1 version */ |
|
extern pid_t getpgrp(pid_t pid); /* BSD version */ |
|
extern int pause(void); |
|
extern time_t time(time_t *tloc); |
|
extern int utime(const char *filename, const struct utimbuf *times); |
|
extern int utimes(const char *filename, const struct timeval times[2]); |
|
extern int futimesat(int dirfd, const char *pathname, const struct timeval times[2]); |
|
extern int creat(const char *pathname, mode_t mode); |
|
extern long getdents(unsigned int fd, struct linux_dirent *dirp, unsigned int count); |
|
extern int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); |
|
extern int poll(struct pollfd *fds, nfds_t nfds, int timeout); |
|
extern int epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout); |
|
extern int ustat(dev_t dev, struct ustat *ubuf); |
|
extern pid_t vfork(void); |
|
extern ssize_t recv(int sockfd, void *buf, size_t len, int flags); |
|
extern ssize_t send(int sockfd, const void *buf, size_t len, int flags); |
|
extern int uselib(const char *library); |
|
extern int sysfs(int option, const char *fsname); |
|
extern int sysfs(int option, unsigned int fs_index, char *buf); |
|
extern int sysfs(int option); |
|
extern pid_t fork(void); |
|
extern int stime(const time_t *t); |
|
extern int sigpending(sigset_t *set); |
|
extern int sigprocmask(int how, const sigset_t *set, sigset_t *oldset); |
|
extern int sigprocmask(int how, const old_kernel_sigset_t *set, old_kernel_sigset_t *oldset); |
|
extern int sigsuspend(const sigset_t *mask); |
|
extern int sigsuspend(const sigset_t *mask); |
|
extern int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact); |
|
extern long sgetmask(void); |
|
extern long ssetmask(long newmask); |
|
extern sighandler_t signal(int signum, sighandler_t handler); |
|
extern int nice(int inc); |
|
extern long kexec_file_load(int kernel_fd, int initrd_fd, unsigned long cmdline_len, const char *cmdline, unsigned long flags); |
|
extern pid_t waitpid(pid_t pid, int *wstatus, int options); |
|
extern int socketcall(int call, unsigned long *args); |
|
extern int stat(const char *pathname, struct stat *statbuf); |
|
extern int lstat(const char *pathname, struct stat *statbuf); |
|
extern int fstat(int fd, struct stat *statbuf); |
|
extern ssize_t readlink(const char *pathname, char *buf, size_t bufsiz); |
|
extern int gethostname(char *name, size_t len); |
|
extern int uname(struct utsname *buf); |
|
extern int ipc(unsigned int call, int first, int second, int third, void *ptr, long fifth); |