OS/LINUX

[개요] 리눅스 주요 시스템 콜(Linux system call)

투칼론 2016. 3. 4. 00:11
반응형

리눅스의 주요 시스템 콜은 아래 표와 같음.


분류

시스템 콜

Socket

Network

accept, bind, connect, gethostname, listen, poll, recv, recvmsg, recvfrom, select, send, sendto, sendmsg, getsockopt, setsockopt, shutdown, socket, socketpair,

Signal

alarm, sigaction, signal,

File

chmod, chown, create, open, close, fcntl, flock, fstatat, link, lseek, stat, fstat, lstat, mkdir, mknod, read, rename, rmdir, symlink, truncate, umask, unlink, utime, utimes, write, dup, dup2

Process

fork, execve, kill, ptrace, times, wait, waitpid,

User/Group

getgid, getegid, getuid, geteuid, setuid, setgid, seteuid, setegid,  

Device

ioctl, open, close

Memory

mmap, munmap,     malloc, free, memset

IPC

msgget, msgctl, msgsnd, msgrcv, pipe, semctl, semget, semop, shmget, shmctl, shmat, shmdt,

Time

stime, date, settimeofday, time,

Shared Library

uselib, dlopen, dlclose