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

From Sistemi Operativi
Jump to navigation Jump to search
Line 4: Line 4:
 
== gestione processi ==
 
== gestione processi ==
  
* [[fork]], ''vfork''
+
* [http://www.unix.com/man-page/Linux/2/fork/ fork], ''vfork''
 
* (clone')
 
* (clone')
 
* execve
 
* execve

Revision as of 15:18, 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, 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, unlinkat, renameat, linkat, symlinkat, readlinkat, fchmodat, faccessat

gestione utenti

  • getuid, setuid
  • getgid, setgid
  • geteuid, seteuid
  • getreiud, setreuid
  • getresuid, setresuid
  • getresgid, setresgid
  • getgroups, setgroups

debug/profiling

  • ptrace
  • process_vm_readv, process_vm_writev
  • 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, shmdt, 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