Difference between revisions of "Il ''catalogo'' delle System Call"
Jump to navigation
Jump to search
m |
m (→memoria) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Fra parentesi le chiamate raramente usate direttamente, in ''italico'' le chiamate obsolete. | 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. | ' 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, ''vfork'' | + | * [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] |
− | * getsid | + | * [http://www.unix.com/man-page/Linux/2/getsid/ getsid] |
== gestione file == | == gestione file == | ||
− | * open, ''creat'', openat | + | * [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] |
− | * sendfile | + | * [http://www.unix.com/man-page/Linux/2/sendfile/ sendfile] |
− | * flock | + | * [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] |
− | * getcwd' | + | * [http://www.unix.com/man-page/Linux/2/getcwd/ getcwd'] |
− | * link, symlink, readlink, unlink, rename | + | * [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] |
− | * stat, lstat, fstat | + | * [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] |
− | * mknod | + | * [http://www.unix.com/man-page/Linux/2/mknod/ mknod] |
− | * chown, fchown, lchown | + | * [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] |
− | * chmod, fchmod, lchmod | + | * [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] |
− | * access | + | * [http://www.unix.com/man-page/Linux/2/access/ access] |
− | * mount, ''umount'', umount2 | + | * [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] |
− | * sync | + | * [http://www.unix.com/man-page/Linux/2/sync/ sync] |
− | * utime | + | * [http://www.unix.com/man-page/Linux/2/utime/ utime] |
− | * umask | + | * [http://www.unix.com/man-page/Linux/2/umask/ umask] |
− | * chroot | + | * [http://www.unix.com/man-page/Linux/2/chroot/ chroot] |
− | * ustat | + | * [http://www.unix.com/man-page/Linux/2/ustat/ ustat] |
− | * truncate, ftruncate | + | * [http://www.unix.com/man-page/Linux/2/truncate/ truncate], [http://www.unix.com/man-page/Linux/2/ftruncate/ ftruncate] |
− | * statfs, fstatfs | + | * [http://www.unix.com/man-page/Linux/2/statfs/ statfs], [http://www.unix.com/man-page/Linux/2/fstatfs/ fstatfs] |
− | * getfsuid, setfsuid | + | * [http://www.unix.com/man-page/Linux/2/getfsuid/ getfsuid], [http://www.unix.com/man-page/Linux/2/setfsuid/ setfsuid] |
− | * (getdents) | + | * [http://www.unix.com/man-page/Linux/2/getdents/ (getdents)] |
at calls: | at calls: | ||
− | * mkdirat, mknodat, fchownat, futimesat, fstatat, | + | * [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] |
− | * process_vm_readv, process_vm_writev | + | * [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] |
− | * times | + | * [http://www.unix.com/man-page/Linux/2/times/ times] |
− | * acct | + | * [http://www.unix.com/man-page/Linux/2/acct/ acct] |
− | * getrlimit, setrlimit, getrusage | + | * [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] |
− | * getitimer, setitimer | + | * [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)] |
− | * mprotect | + | * [http://www.unix.com/man-page/Linux/2/mmap/ mmap], [http://www.unix.com/man-page/Linux/2/munmap/ munmap] |
− | * mremap | + | * [http://www.unix.com/man-page/Linux/2/mprotect/ mprotect] |
− | * msync | + | * [http://www.unix.com/man-page/Linux/2/mremap/ mremap] |
− | * madvise | + | * [http://www.unix.com/man-page/Linux/2/msync/ msync] |
− | * getpagesize | + | * [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] |
− | * nanosleep | + | * [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] |
− | * getdomainname, setdomainname | + | * [http://www.unix.com/man-page/Linux/2/getdomainname/ getdomainname], [http://www.unix.com/man-page/Linux/2/setdomainname/ setdomainname] |
− | * sched_yield | + | * [http://www.unix.com/man-page/Linux/2/sched_yield/ sched_yield] |
− | * reboot | + | * [http://www.unix.com/man-page/Linux/2/reboot/ reboot] |
− | * sysinfo, uname | + | * [http://www.unix.com/man-page/Linux/2/sysinfo/ sysinfo], [http://www.unix.com/man-page/Linux/2/uname/ uname] |
− | * capget, capset | + | * [http://www.unix.com/man-page/Linux/2/capget/ capget], [http://www.unix.com/man-page/Linux/2/capset/ capset] |
== sysV IPC == | == sysV IPC == | ||
− | * ''shmget, shmat, shmdt, shmctl'' | + | * [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''] |
− | * ''semget, semop, semctl'' | + | * [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''] |
− | * ''msgget, msgsnd, msgrcv, msgctl'' | + | * [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 == | == Berkeley socket == | ||
− | * socket | + | * [http://www.unix.com/man-page/Linux/2/socket/ socket] |
− | * bind | + | * [http://www.unix.com/man-page/Linux/2/bind/ bind] |
− | * listen | + | * [http://www.unix.com/man-page/Linux/2/listen/ listen] |
− | * accept | + | * [http://www.unix.com/man-page/Linux/2/accept/ accept] |
− | * connect | + | * [http://www.unix.com/man-page/Linux/2/connect/ connect] |
− | * sendto, recvfrom | + | * [http://www.unix.com/man-page/Linux/2/sendto/ sendto], [http://www.unix.com/man-page/Linux/2/recvfrom/ recvfrom] |
− | * sendmsg, recvmsg | + | * [http://www.unix.com/man-page/Linux/2/sendmsg/ sendmsg], [http://www.unix.com/man-page/Linux/2/recvmsg/ recvmsg] |
− | * sengmmsg, recvmmsg | + | * [http://www.unix.com/man-page/Linux/2/sengmmsg/ sengmmsg], [http://www.unix.com/man-page/Linux/2/recvmmsg/ recvmmsg] |
− | * shutdown | + | * [http://www.unix.com/man-page/Linux/2/shutdown/ shutdown] |
− | * getsockname, getpeername | + | * [http://www.unix.com/man-page/Linux/2/getsockname/ getsockname], [http://www.unix.com/man-page/Linux/2/getpeername/ getpeername] |
− | * socketpair | + | * [http://www.unix.com/man-page/Linux/2/socketpair/ socketpair] |
− | * getsockopt, setsockopt | + | * [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