Difference between revisions of "Il ''catalogo'' delle System Call"
Jump to navigation
Jump to search
m |
m (→memoria) |
||
(11 intermediate revisions by 2 users not shown) | |||
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. | ||
+ | |||
+ | Per studiare l'evoluzione di UNIX nel tempo, [http://man.cat-v.org/ questo sito web] fornisce un archivio delle pagine di manuale a partire dalle prime versioni. | ||
+ | |||
== gestione processi == | == gestione processi == | ||
− | * fork | + | * [http://www.unix.com/man-page/Linux/2/fork/ fork], [http://www.unix.com/man-page/Linux/2/vfork/ ''vfork''] |
− | * (clone) | + | * [http://www.unix.com/man-page/Linux/2/clone/ (clone')] |
− | * | + | * [http://www.unix.com/man-page/Linux/2/exit/ _exit] |
− | + | * [http://www.unix.com/man-page/Linux/2/wait/ wait], [http://www.unix.com/man-page/Linux/2/waitpid/ waitpid], [http://www.unix.com/man-page/Linux/2/wait3/ wait3], [http://www.unix.com/man-page/Linux/2/wait4/ wait4] | |
− | * wait, waitpid, wait3, wait4 | + | * [http://www.unix.com/man-page/Linux/2/nice/ nice] |
− | * nice | + | * [http://www.unix.com/man-page/Linux/2/getpriority/ getpriority], [http://www.unix.com/man-page/Linux/2/setpriority/ setpriority] |
− | * getpriority, setpriority | ||
− | * getpid, getppid | + | * [http://www.unix.com/man-page/Linux/2/getpid/ getpid], [http://www.unix.com/man-page/Linux/2/getppid/ getppid] |
− | * | + | * [http://www.unix.com/man-page/Linux/2/getpgid/ getpgid], [http://www.unix.com/man-page/Linux/2/setpgid/ setpgid] |
+ | * [http://www.unix.com/man-page/Linux/2/getsid/ getsid] | ||
== gestione file == | == gestione file == | ||
− | * open, | + | * [http://www.unix.com/man-page/Linux/2/open/ open], [http://www.unix.com/man-page/Linux/2/creat/ ''creat''], [http://www.unix.com/man-page/Linux/2/openat/ openat] |
− | * read, write | + | * [http://www.unix.com/man-page/Linux/2/read/ read], [http://www.unix.com/man-page/Linux/2/write/ write] |
− | * readv, writev | + | * [http://www.unix.com/man-page/Linux/2/readv/ readv], [http://www.unix.com/man-page/Linux/2/writev/ writev] |
− | * pread, pwrite | + | * [http://www.unix.com/man-page/Linux/2/pread/ pread], [http://www.unix.com/man-page/Linux/2/pwrite/ pwrite] |
− | * lseek | + | * [http://www.unix.com/man-page/Linux/2/lseek/ lseek] |
− | * close | + | * [http://www.unix.com/man-page/Linux/2/close/ close] |
− | * fcntl | + | * [http://www.unix.com/man-page/Linux/2/fcntl/ fcntl] |
− | * ioctl | + | * [http://www.unix.com/man-page/Linux/2/ioctl/ ioctl] |
− | * dup, dup2 | + | * [http://www.unix.com/man-page/Linux/2/dup/ dup], [http://www.unix.com/man-page/Linux/2/dup2/ dup2] |
+ | * [http://www.unix.com/man-page/Linux/2/sendfile/ sendfile] | ||
+ | * [http://www.unix.com/man-page/Linux/2/flock/ flock] | ||
== gestione file system == | == gestione file system == | ||
− | * chdir, fchdir | + | * [http://www.unix.com/man-page/Linux/2/chdir/ chdir], [http://www.unix.com/man-page/Linux/2/fchdir/ fchdir] |
− | * mkdir, rmdir | + | * [http://www.unix.com/man-page/Linux/2/mkdir/ mkdir], [http://www.unix.com/man-page/Linux/2/rmdir/ rmdir] |
− | * link, symlink, readlink, unlink, rename | + | * [http://www.unix.com/man-page/Linux/2/getcwd/ getcwd'] |
− | * stat, lstat, fstat | + | * [http://www.unix.com/man-page/Linux/2/link/ link], [http://www.unix.com/man-page/Linux/2/symlink/ symlink], [http://www.unix.com/man-page/Linux/2/readlink/ readlink], [http://www.unix.com/man-page/Linux/2/unlink/ unlink], [http://www.unix.com/man-page/Linux/2/rename/ rename] |
− | * mknod | + | * [http://www.unix.com/man-page/Linux/2/stat/ stat], [http://www.unix.com/man-page/Linux/2/lstat/ lstat], [http://www.unix.com/man-page/Linux/2/fstat/ fstat] |
− | * chown, fchown, lchown | + | * [http://www.unix.com/man-page/Linux/2/mknod/ mknod] |
− | * chmod, fchmod, lchmod | + | * [http://www.unix.com/man-page/Linux/2/chown/ chown], [http://www.unix.com/man-page/Linux/2/fchown/ fchown], [http://www.unix.com/man-page/Linux/2/lchown/ lchown] |
− | * access | + | * [http://www.unix.com/man-page/Linux/2/chmod/ chmod], [http://www.unix.com/man-page/Linux/2/fchmod/ fchmod], [http://www.unix.com/man-page/Linux/2/lchmod/ lchmod] |
− | * mount, umount | + | * [http://www.unix.com/man-page/Linux/2/access/ access] |
− | * sync | + | * [http://www.unix.com/man-page/Linux/2/mount/ mount], [http://www.unix.com/man-page/Linux/2/umount/ ''umount''], [http://www.unix.com/man-page/Linux/2/umount2/ umount2] |
− | * utime | + | * [http://www.unix.com/man-page/Linux/2/sync/ sync] |
− | * umask | + | * [http://www.unix.com/man-page/Linux/2/utime/ utime] |
− | * chroot | + | * [http://www.unix.com/man-page/Linux/2/umask/ umask] |
− | * ustat | + | * [http://www.unix.com/man-page/Linux/2/chroot/ chroot] |
− | * truncate, ftruncate | + | * [http://www.unix.com/man-page/Linux/2/ustat/ ustat] |
− | * statfs, fstatfs | + | * [http://www.unix.com/man-page/Linux/2/truncate/ truncate], [http://www.unix.com/man-page/Linux/2/ftruncate/ ftruncate] |
− | * getfsuid, setfsuid | + | * [http://www.unix.com/man-page/Linux/2/statfs/ statfs], [http://www.unix.com/man-page/Linux/2/fstatfs/ fstatfs] |
− | * (getdents) | + | * [http://www.unix.com/man-page/Linux/2/getfsuid/ getfsuid], [http://www.unix.com/man-page/Linux/2/setfsuid/ setfsuid] |
+ | * [http://www.unix.com/man-page/Linux/2/getdents/ (getdents)] | ||
+ | |||
+ | at calls: | ||
+ | * [http://www.unix.com/man-page/Linux/2/mkdirat/ mkdirat], [http://www.unix.com/man-page/Linux/2/mknodat/ mknodat], [http://www.unix.com/man-page/Linux/2/fchownat/ fchownat], [http://www.unix.com/man-page/Linux/2/futimesat/ futimesat], [http://www.unix.com/man-page/Linux/2/fstatat/ fstatat], [http://www.unix.com/man-page/Linux/2// ][http://www.unix.com/man-page/Linux/2/unlinkat/ unlinkat], [http://www.unix.com/man-page/Linux/2/renameat/ renameat], [http://www.unix.com/man-page/Linux/2/linkat/ linkat], [http://www.unix.com/man-page/Linux/2/symlinkat/ symlinkat], [http://www.unix.com/man-page/Linux/2// ][http://www.unix.com/man-page/Linux/2/readlinkat/ readlinkat], [http://www.unix.com/man-page/Linux/2/fchmodat/ fchmodat], [http://www.unix.com/man-page/Linux/2/faccessat/ faccessat] | ||
== gestione utenti == | == gestione utenti == | ||
− | * getuid, setuid | + | * [http://www.unix.com/man-page/Linux/2/getuid/ getuid], [http://www.unix.com/man-page/Linux/2/setuid/ setuid] |
− | * getgid, setgid | + | * [http://www.unix.com/man-page/Linux/2/getgid/ getgid], [http://www.unix.com/man-page/Linux/2/setgid/ setgid] |
− | * geteuid, seteuid | + | * [http://www.unix.com/man-page/Linux/2/geteuid/ geteuid], [http://www.unix.com/man-page/Linux/2/seteuid/ seteuid] |
− | * getreiud, setreuid | + | * [http://www.unix.com/man-page/Linux/2/getreiud/ getreiud], [http://www.unix.com/man-page/Linux/2/setreuid/ setreuid] |
− | * getresuid, setresuid | + | * [http://www.unix.com/man-page/Linux/2/getresuid/ getresuid], [http://www.unix.com/man-page/Linux/2/setresuid/ setresuid] |
− | * getresgid, setresgid | + | * [http://www.unix.com/man-page/Linux/2/getresgid/ getresgid], [http://www.unix.com/man-page/Linux/2/setresgid/ setresgid] |
− | * getgroups, setgroups | + | * [http://www.unix.com/man-page/Linux/2/getgroups/ getgroups], [http://www.unix.com/man-page/Linux/2/setgroups/ setgroups] |
== debug/profiling == | == debug/profiling == | ||
− | * ptrace | + | * [http://www.unix.com/man-page/Linux/2/ptrace/ ptrace] |
− | * times | + | * [http://www.unix.com/man-page/Linux/2/process_vm_readv/ process_vm_readv], [http://www.unix.com/man-page/Linux/2/process_vm_writev/ process_vm_writev] |
− | * acct | + | * [http://www.unix.com/man-page/Linux/2/times/ times] |
− | * getrlimit, setrlimit, getrusage | + | * [http://www.unix.com/man-page/Linux/2/acct/ acct] |
+ | * [http://www.unix.com/man-page/Linux/2/getrlimit/ getrlimit], [http://www.unix.com/man-page/Linux/2/setrlimit/ setrlimit], [http://www.unix.com/man-page/Linux/2/getrusage/ getrusage] | ||
== segnali == | == segnali == | ||
− | * kill | + | * [http://www.unix.com/man-page/Linux/2/kill/ kill] |
− | * signal | + | * [http://www.unix.com/man-page/Linux/2/signal/ signal] |
− | * alarm | + | * [http://www.unix.com/man-page/Linux/2/alarm/ alarm] |
− | * pause | + | * [http://www.unix.com/man-page/Linux/2/pause/ pause] |
− | * sigaction | + | * [http://www.unix.com/man-page/Linux/2/sigaction/ sigaction] |
− | * sigprocmask | + | * [http://www.unix.com/man-page/Linux/2/sigprocmask/ sigprocmask] |
− | * sigsuspend | + | * [http://www.unix.com/man-page/Linux/2/sigsuspend/ sigsuspend] |
− | * sigpending | + | * [http://www.unix.com/man-page/Linux/2/sigpending/ sigpending] |
+ | * [http://www.unix.com/man-page/Linux/2/getitimer/ getitimer], [http://www.unix.com/man-page/Linux/2/setitimer/ setitimer] | ||
== attesa eventi == | == attesa eventi == | ||
− | * select | + | * [http://www.unix.com/man-page/Linux/2/select/ select] |
− | * poll | + | * [http://www.unix.com/man-page/Linux/2/poll/ poll] |
− | * pselect | + | * [http://www.unix.com/man-page/Linux/2/pselect/ pselect] |
− | * ppoll | + | * [http://www.unix.com/man-page/Linux/2/ppoll/ ppoll] |
== comunicazione == | == comunicazione == | ||
− | * pipe | + | * [http://www.unix.com/man-page/Linux/2/pipe/ pipe] |
== memoria == | == memoria == | ||
− | * (brk) | + | * [http://www.unix.com/man-page/Linux/2/execve/ execve] |
− | * mmap, munmap | + | * [http://www.unix.com/man-page/Linux/2/brk/ (brk)] |
− | * getpagesize | + | * [http://www.unix.com/man-page/Linux/2/mmap/ mmap], [http://www.unix.com/man-page/Linux/2/munmap/ munmap] |
+ | * [http://www.unix.com/man-page/Linux/2/mprotect/ mprotect] | ||
+ | * [http://www.unix.com/man-page/Linux/2/mremap/ mremap] | ||
+ | * [http://www.unix.com/man-page/Linux/2/msync/ msync] | ||
+ | * [http://www.unix.com/man-page/Linux/2/madvise/ madvise] | ||
+ | * [http://www.unix.com/man-page/Linux/2/getpagesize/ getpagesize] | ||
== tempo == | == tempo == | ||
− | * time | + | * [http://www.unix.com/man-page/Linux/2/time/ time] |
− | * gettimeofday, settimeofday | + | * [http://www.unix.com/man-page/Linux/2/gettimeofday/ gettimeofday], [http://www.unix.com/man-page/Linux/2/settimeofday/ settimeofday] |
− | * adjtimex | + | * [http://www.unix.com/man-page/Linux/2/adjtimex/ adjtimex] |
+ | * [http://www.unix.com/man-page/Linux/2/nanosleep/ nanosleep] | ||
== misc == | == misc == | ||
− | * gethostname, sethostname | + | * [http://www.unix.com/man-page/Linux/2/gethostname/ gethostname], [http://www.unix.com/man-page/Linux/2/sethostname/ sethostname] |
− | * reboot | + | * [http://www.unix.com/man-page/Linux/2/getdomainname/ getdomainname], [http://www.unix.com/man-page/Linux/2/setdomainname/ setdomainname] |
+ | * [http://www.unix.com/man-page/Linux/2/sched_yield/ sched_yield] | ||
+ | * [http://www.unix.com/man-page/Linux/2/reboot/ reboot] | ||
+ | * [http://www.unix.com/man-page/Linux/2/sysinfo/ sysinfo], [http://www.unix.com/man-page/Linux/2/uname/ uname] | ||
+ | * [http://www.unix.com/man-page/Linux/2/capget/ capget], [http://www.unix.com/man-page/Linux/2/capset/ capset] | ||
+ | |||
+ | == sysV IPC == | ||
+ | * [http://www.unix.com/man-page/Linux/2/shmget/ ''shmget], [http://www.unix.com/man-page/Linux/2/shmat/ shmat], [http://www.unix.com/man-page/Linux/2/shmdt/ shmdt], [http://www.unix.com/man-page/Linux/2/shmctl/ shmctl''] | ||
+ | * [http://www.unix.com/man-page/Linux/2/semget/ ''semget], [http://www.unix.com/man-page/Linux/2/semop/ semop], [http://www.unix.com/man-page/Linux/2/semctl/ semctl''] | ||
+ | * [http://www.unix.com/man-page/Linux/2/msgget/ ''msgget], [http://www.unix.com/man-page/Linux/2/msgsnd/ msgsnd], [http://www.unix.com/man-page/Linux/2/msgrcv/ msgrcv], [http://www.unix.com/man-page/Linux/2/msgctl/ msgctl''] | ||
+ | |||
+ | == Berkeley socket == | ||
+ | * [http://www.unix.com/man-page/Linux/2/socket/ socket] | ||
+ | * [http://www.unix.com/man-page/Linux/2/bind/ bind] | ||
+ | * [http://www.unix.com/man-page/Linux/2/listen/ listen] | ||
+ | * [http://www.unix.com/man-page/Linux/2/accept/ accept] | ||
+ | * [http://www.unix.com/man-page/Linux/2/connect/ connect] | ||
+ | * [http://www.unix.com/man-page/Linux/2/sendto/ sendto], [http://www.unix.com/man-page/Linux/2/recvfrom/ recvfrom] | ||
+ | * [http://www.unix.com/man-page/Linux/2/sendmsg/ sendmsg], [http://www.unix.com/man-page/Linux/2/recvmsg/ recvmsg] | ||
+ | * [http://www.unix.com/man-page/Linux/2/sengmmsg/ sengmmsg], [http://www.unix.com/man-page/Linux/2/recvmmsg/ recvmmsg] | ||
+ | * [http://www.unix.com/man-page/Linux/2/shutdown/ shutdown] | ||
+ | * [http://www.unix.com/man-page/Linux/2/getsockname/ getsockname], [http://www.unix.com/man-page/Linux/2/getpeername/ getpeername] | ||
+ | * [http://www.unix.com/man-page/Linux/2/socketpair/ socketpair] | ||
+ | * [http://www.unix.com/man-page/Linux/2/getsockopt/ getsockopt], [http://www.unix.com/man-page/Linux/2/setsockopt/ setsockopt] |
Latest revision as of 16:30, 30 October 2017
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.
Per studiare l'evoluzione di UNIX nel tempo, questo sito web fornisce un archivio delle pagine di manuale a partire dalle prime versioni.
gestione processi
gestione file
- open, creat, openat
- 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)
at calls:
- mkdirat, mknodat, fchownat, futimesat, fstatat, [1]unlinkat, renameat, linkat, symlinkat, [2]readlinkat, fchmodat, faccessat
gestione utenti
- getuid, setuid
- getgid, setgid
- geteuid, seteuid
- getreiud, setreuid
- getresuid, setresuid
- getresgid, setresgid
- getgroups, setgroups
debug/profiling
segnali
attesa eventi
comunicazione
memoria
tempo
misc
- gethostname, sethostname
- getdomainname, setdomainname
- sched_yield
- reboot
- sysinfo, uname
- capget, capset