-
-
Notifications
You must be signed in to change notification settings - Fork 9
unix unistd
IsaacShelton edited this page Nov 13, 2022
·
5 revisions
unix/unistd.adept contains definitions from <unistd.h>.
foreign access(*ubyte, int) intforeign alarm(uint) uintforeign brk(ptr) intforeign chdir(*ubyte) intforeign chroot(*ubyte) intforeign chown(*ubyte, uid_t, gid_t) intforeign close(int) intforeign confstr(int, *ubyte, usize) usizeforeign crypt(*ubyte, *ubyte) *ubyteforeign ctermid(*ubyte) *ubyteforeign cuserid(*ubyte) *ubyteforeign dup(int) intforeign dup2(int, int) intforeign encrypt(64 ubyte, int) voidforeign execl(*ubyte, *ubyte, ...) intforeign execle(*ubyte, *ubyte, ...) intforeign execlp(*ubyte, *ubyte, ...) intforeign execv(*ubyte, **ubyte) intforeign execve(*ubyte, **ubyte, **ubyte) intforeign execvp(*ubyte, **ubyte) intforeign _exit(int) voidforeign fchown(int, uid_t, gid_t) intforeign fchdir(int) intforeign fdatasync(int) intforeign fork() pid_tforeign fpathconf(int, int) longforeign fsync(int) intforeign ftruncate(int, off_t) intforeign getcwd(*ubyte, usize) *ubyteforeign getdtablesize() intforeign getegid() gid_tforeign geteuid() uid_tforeign getgid() gid_tforeign getgroups(int, *gid_t) intforeign gethostid() longforeign getlogin() *ubyteforeign getlogic_r(*ubyte, usize) intforeign getopt(int, **ubyte, *ubyte) intforeign getpagesize() intforeign getpass(*ubyte) *ubyteforeign getpgid(pid_t) pid_tforeign getpgrp() pid_tforeign getpid() pid_tforeign getppid() pid_tforeign getsid(pid_t) pid_tforeign getuid() uid_tforeign getwd(*ubyte) *ubyteforeign isatty(int) intforeign lchown(*ubyte, uid_t, gid_t) intforeign link(*ubyte, *ubyte) intforeign lockf(int, int, off_t) intforeign lseek(int, off_t, int) off_tforeign nice(int) intforeign pathconf(*ubyte, int) longforeign pause() intforeign pipe(2 int) intforeign pread(int, ptr, usize, off_t) longforeign pthread_atfork(func() void, func() void, func() void) intforeign pwrite(int, ptr, usize, off_t) longforeign read(int, ptr, usize) longforeign readlink(*ubyte, *ubyte, usize) intforeign rmdir(*ubyte) intforeign sbrk(ptr) ptrforeign setgid(gid_t) intforeign setpgid(pid_t, pid_t) intforeign setpgrp() pid_tforeign setregid(gid_t, gid_t) intforeign setreuid(uid_t, uid_t) intforeign setsid() pid_tforeign setuid(uid_t) intforeign sleep(uint) uintforeign swab(ptr, ptr, long) voidforeign symlink(*ubyte, *ubyte) intforeign sync() voidforeign sysconf(int) longforeign tcgetpgrp(int) pid_tforeign tcsetpgrp(int, pid_t) intforeign truncate(*ubyte, off_t) intforeign ttyname(int) *ubyteforeign ttyname_r(int, *ubyte, usize) intforeign ualarm(useconds_t, useconds_t) useconds_tforeign unlink(*ubyte) intforeign usleep(useconds_t) intforeign vfork() pid_tforeign write(int, ptr, usize) long
import 'unix/gid_t.adept'
import 'unix/off_t.adept'
import 'unix/pid_t.adept'
import 'unix/uid_t.adept'
import 'unix/useconds_t.adept'