Il ''catalogo'' delle System Call

From Sistemi Operativi
Revision as of 14:34, 10 March 2016 by Renzo (talk | contribs)
Jump to navigation Jump to search

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