Difference between revisions of "Il ''catalogo'' delle System Call"

From Sistemi Operativi
Jump to navigation Jump to search
(Created page with "== gestione processi == * fork * (clone) * execvp * wait, waitpid, wait3, wait4 * getpid, getppid == gestione file == * open, (creat) * read, write * lseek * close == ges...")
 
 
(12 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')]
* execvp
+
* [http://www.unix.com/man-page/Linux/2/exit/ _exit]
* wait, waitpid, wait3, wait4
+
* [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]
 +
* [http://www.unix.com/man-page/Linux/2/nice/ nice]
 +
* [http://www.unix.com/man-page/Linux/2/getpriority/ getpriority], [http://www.unix.com/man-page/Linux/2/setpriority/ 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, (creat)
+
* [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]
* lseek
+
* [http://www.unix.com/man-page/Linux/2/readv/ readv], [http://www.unix.com/man-page/Linux/2/writev/ writev]
* close
+
* [http://www.unix.com/man-page/Linux/2/pread/ pread], [http://www.unix.com/man-page/Linux/2/pwrite/ pwrite]
 +
* [http://www.unix.com/man-page/Linux/2/lseek/ lseek]
 +
* [http://www.unix.com/man-page/Linux/2/close/ close]
 +
* [http://www.unix.com/man-page/Linux/2/fcntl/ fcntl]
 +
* [http://www.unix.com/man-page/Linux/2/ioctl/ ioctl]
 +
* [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 ==
* mkdir, rmdir
+
* [http://www.unix.com/man-page/Linux/2/chdir/ chdir], [http://www.unix.com/man-page/Linux/2/fchdir/ fchdir]
* link, symlink, readlink, unlink
+
* [http://www.unix.com/man-page/Linux/2/mkdir/ mkdir], [http://www.unix.com/man-page/Linux/2/rmdir/ rmdir]
* stat, lstat, fstat
+
* [http://www.unix.com/man-page/Linux/2/getcwd/ getcwd']
 +
* [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]
 +
* [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]
 +
* [http://www.unix.com/man-page/Linux/2/mknod/ mknod]
 +
* [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]
 +
* [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]
 +
* [http://www.unix.com/man-page/Linux/2/access/ access]
 +
* [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]
 +
* [http://www.unix.com/man-page/Linux/2/sync/ sync]
 +
* [http://www.unix.com/man-page/Linux/2/utime/ utime]
 +
* [http://www.unix.com/man-page/Linux/2/umask/ umask]
 +
* [http://www.unix.com/man-page/Linux/2/chroot/ chroot]
 +
* [http://www.unix.com/man-page/Linux/2/ustat/ ustat]
 +
* [http://www.unix.com/man-page/Linux/2/truncate/ truncate], [http://www.unix.com/man-page/Linux/2/ftruncate/ ftruncate]
 +
* [http://www.unix.com/man-page/Linux/2/statfs/ statfs], [http://www.unix.com/man-page/Linux/2/fstatfs/ fstatfs]
 +
* [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 ==
 +
* [http://www.unix.com/man-page/Linux/2/getuid/ getuid], [http://www.unix.com/man-page/Linux/2/setuid/ setuid]
 +
* [http://www.unix.com/man-page/Linux/2/getgid/ getgid], [http://www.unix.com/man-page/Linux/2/setgid/ setgid]
 +
* [http://www.unix.com/man-page/Linux/2/geteuid/ geteuid], [http://www.unix.com/man-page/Linux/2/seteuid/ seteuid]
 +
* [http://www.unix.com/man-page/Linux/2/getreiud/ getreiud], [http://www.unix.com/man-page/Linux/2/setreuid/ setreuid]
 +
* [http://www.unix.com/man-page/Linux/2/getresuid/ getresuid], [http://www.unix.com/man-page/Linux/2/setresuid/ setresuid]
 +
* [http://www.unix.com/man-page/Linux/2/getresgid/ getresgid], [http://www.unix.com/man-page/Linux/2/setresgid/ setresgid]
 +
* [http://www.unix.com/man-page/Linux/2/getgroups/ getgroups], [http://www.unix.com/man-page/Linux/2/setgroups/ setgroups]
 +
 +
== debug/profiling ==
 +
* [http://www.unix.com/man-page/Linux/2/ptrace/ ptrace]
 +
* [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]
 +
* [http://www.unix.com/man-page/Linux/2/times/ times]
 +
* [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 ==
 +
* [http://www.unix.com/man-page/Linux/2/kill/ kill]
 +
* [http://www.unix.com/man-page/Linux/2/signal/ signal]
 +
* [http://www.unix.com/man-page/Linux/2/alarm/ alarm]
 +
* [http://www.unix.com/man-page/Linux/2/pause/ pause]
 +
* [http://www.unix.com/man-page/Linux/2/sigaction/ sigaction]
 +
* [http://www.unix.com/man-page/Linux/2/sigprocmask/ sigprocmask]
 +
* [http://www.unix.com/man-page/Linux/2/sigsuspend/ sigsuspend]
 +
* [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 ==
 +
* [http://www.unix.com/man-page/Linux/2/select/ select]
 +
* [http://www.unix.com/man-page/Linux/2/poll/ poll]
 +
* [http://www.unix.com/man-page/Linux/2/pselect/ pselect]
 +
* [http://www.unix.com/man-page/Linux/2/ppoll/ ppoll]
 +
 +
== comunicazione ==
 +
* [http://www.unix.com/man-page/Linux/2/pipe/ pipe]
 +
 +
== memoria ==
 +
* [http://www.unix.com/man-page/Linux/2/execve/ execve]
 +
* [http://www.unix.com/man-page/Linux/2/brk/ (brk)]
 +
* [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 ==
 +
* [http://www.unix.com/man-page/Linux/2/time/ time]
 +
* [http://www.unix.com/man-page/Linux/2/gettimeofday/ gettimeofday], [http://www.unix.com/man-page/Linux/2/settimeofday/ settimeofday]
 +
* [http://www.unix.com/man-page/Linux/2/adjtimex/ adjtimex]
 +
* [http://www.unix.com/man-page/Linux/2/nanosleep/ nanosleep]
 +
 +
== misc ==
 +
* [http://www.unix.com/man-page/Linux/2/gethostname/ gethostname], [http://www.unix.com/man-page/Linux/2/sethostname/ sethostname]
 +
* [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

gestione file system

at calls:

gestione utenti

debug/profiling

segnali

attesa eventi

comunicazione

memoria

tempo

misc

sysV IPC

Berkeley socket