Today's plan
Posix calls
- for a complete list, see e.g. here
under System Interfaces
- may be implemented as system calls or library functions
- include generic math and string functions
- calls defined in the textbook, p. 28, Figure 1-9
- notable additions (i.e., calls in POSIX but not in the textbook):
- networking calls such as socket,
connect,
bind,
listen,
accept,
send,
recv,
shutdown,
- calls for mapping files, such as void * mmap(void *start,
size_t length, int prot, int flags, int fd, off_t offset) and
int munmap(void *start, size_t length)
- posix threads calls such as pthread_create
- poll or select to check open file descriptors
for I/O availability
Main Minix System Calls
- process management:
fork,
wait and
waitpid,
execve,
exit,
brk,
getpid.
- signal handling:
sigaction,
sigpending,
kill,
alarm,
pause.
- time:
time,
stime,
times.
- file management:
open,
creat,
mknod,
close,
read,
write,
seek,
stat and
fstat,
dup2,
pipe,
access,
rename,
ioctl,
fcntl.
- directory and file system management:
mkdir,
rmdir,
link,
unlink (remove),
mount,
umount,
chdir,
chroot.
- protection:
chmod,
getuid,
setuid,
chown.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.