Difference between revisions of "Il ''catalogo'' delle System Call"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
+ | Fra parentesi le chiamate raramente usate direttamente, in ''italico'' le chiamate obsolete. | ||
+ | ' indica che l'interfaccia fornita dalla libreria C non coincide con quella della system call. | ||
+ | |||
== gestione processi == | == gestione processi == | ||
− | * fork | + | * fork, ''vfork'' |
− | * (clone) | + | * (clone') |
− | * | + | * execve |
* exit | * exit | ||
* wait, waitpid, wait3, wait4 | * wait, waitpid, wait3, wait4 | ||
Line 11: | Line 14: | ||
* getpid, getppid | * getpid, getppid | ||
* getpgio, setpgid | * getpgio, setpgid | ||
+ | * getsid | ||
== gestione file == | == gestione file == | ||
− | * open, | + | * open, ''creat'' |
* read, write | * read, write | ||
* readv, writev | * readv, writev | ||
Line 22: | Line 26: | ||
* ioctl | * ioctl | ||
* dup, dup2 | * dup, dup2 | ||
+ | * sendfile | ||
+ | * flock | ||
== gestione file system == | == gestione file system == | ||
* chdir, fchdir | * chdir, fchdir | ||
* mkdir, rmdir | * mkdir, rmdir | ||
+ | * getcwd' | ||
* link, symlink, readlink, unlink, rename | * link, symlink, readlink, unlink, rename | ||
* stat, lstat, fstat | * stat, lstat, fstat | ||
Line 32: | Line 39: | ||
* chmod, fchmod, lchmod | * chmod, fchmod, lchmod | ||
* access | * access | ||
− | * mount, umount | + | * mount, ''umount'', umount2 |
* sync | * sync | ||
* utime | * utime | ||
Line 67: | Line 74: | ||
* sigsuspend | * sigsuspend | ||
* sigpending | * sigpending | ||
+ | * getitimer, setitimer | ||
== attesa eventi == | == attesa eventi == | ||
Line 80: | Line 88: | ||
* (brk) | * (brk) | ||
* mmap, munmap | * mmap, munmap | ||
+ | * mprotect | ||
+ | * mremap | ||
+ | * msync | ||
+ | * madvise | ||
* getpagesize | * getpagesize | ||
Line 86: | Line 98: | ||
* gettimeofday, settimeofday | * gettimeofday, settimeofday | ||
* adjtimex | * adjtimex | ||
+ | * nanosleep | ||
== misc == | == misc == | ||
* gethostname, sethostname | * gethostname, sethostname | ||
+ | * getdomainname, setdomainname | ||
+ | * sched_yield | ||
* reboot | * reboot | ||
+ | * sysinfo, uname | ||
+ | * capget, capset | ||
+ | |||
+ | == sysV IPC === | ||
+ | * shmget, shmat, shmctl | ||
+ | * semget, semop, semctl | ||
+ | * msgget, msgsnd, msgrcv, msgctl | ||
+ | |||
+ | == Berkeley socket | ||
+ | * socket | ||
+ | * bind | ||
+ | * listen | ||
+ | * accept | ||
+ | * connect | ||
+ | * sendto, recvfrom | ||
+ | * sendmsg, recvmsg | ||
+ | * sengmmsg, recvmmsg | ||
+ | * shutdown | ||
+ | * getsockname, getpeername | ||
+ | * socketpair | ||
+ | * getsockopt, setsockopt |
Revision as of 14:34, 10 March 2016
Fra parentesi le chiamate raramente usate direttamente, in italico le chiamate obsolete. ' indica che l'interfaccia fornita dalla libreria C non coincide con quella della system call.
gestione processi
- fork, vfork
- (clone')
- execve
- exit
- wait, waitpid, wait3, wait4
- nice
- getpriority, setpriority
- getpid, getppid
- getpgio, setpgid
- getsid
gestione file
- open, creat
- read, write
- readv, writev
- pread, pwrite
- lseek
- close
- fcntl
- ioctl
- dup, dup2
- sendfile
- flock
gestione file system
- chdir, fchdir
- mkdir, rmdir
- getcwd'
- link, symlink, readlink, unlink, rename
- stat, lstat, fstat
- mknod
- chown, fchown, lchown
- chmod, fchmod, lchmod
- access
- mount, umount, umount2
- sync
- utime
- umask
- chroot
- ustat
- truncate, ftruncate
- statfs, fstatfs
- getfsuid, setfsuid
- (getdents)
gestione utenti
- getuid, setuid
- getgid, setgid
- geteuid, seteuid
- getreiud, setreuid
- getresuid, setresuid
- getresgid, setresgid
- getgroups, setgroups
debug/profiling
- ptrace
- times
- acct
- getrlimit, setrlimit, getrusage
segnali
- kill
- signal
- alarm
- pause
- sigaction
- sigprocmask
- sigsuspend
- sigpending
- getitimer, setitimer
attesa eventi
- select
- poll
- pselect
- ppoll
comunicazione
- pipe
memoria
- (brk)
- mmap, munmap
- mprotect
- mremap
- msync
- madvise
- getpagesize
tempo
- time
- gettimeofday, settimeofday
- adjtimex
- nanosleep
misc
- gethostname, sethostname
- getdomainname, setdomainname
- sched_yield
- reboot
- sysinfo, uname
- capget, capset
sysV IPC =
- shmget, shmat, shmctl
- semget, semop, semctl
- msgget, msgsnd, msgrcv, msgctl
== Berkeley socket
- socket
- bind
- listen
- accept
- connect
- sendto, recvfrom
- sendmsg, recvmsg
- sengmmsg, recvmmsg
- shutdown
- getsockname, getpeername
- socketpair
- getsockopt, setsockopt