Skip to content

Latest commit

 

History

History
92 lines (49 loc) · 1.57 KB

README.md

File metadata and controls

92 lines (49 loc) · 1.57 KB

LINUX SYSTEM PROGRAMMING

each folder has its own README.md


memorizing tip

sth similar open() : require "mode"
sth similar get() : require "buf"

subtitles

IO, offset, RW, duplicate

key

fildes

function

open, close, creat | lseek | read, write | dup, dup2


subtitles

stat, unistd, link

key

stat, utimebuf

function

stat, umask, utime, chmod | chown, access | link, unlink, symlink, remove, rename


subtitles

function(2), function(3)

key

DIR, dirent

library

<dirent.h>

function

opendir, readdir, closedir | mkdir, rmdir, chdir, getcwd


library

<stdio.h>

key

FILE

subtitles

buffer, offset, error, file/char/char*/bin IO

function

setbuf, setvbuf, fseek, ftell | fopen, fdopen, freopen, fclose | ferror, feof | fgetc, getchar, ungetc, fputc, putchar | fgets, gets, fputs, puts | fread, fwrite


subtitles

exit, goto, pid, create child process

key

jump_buf

function

exit, _exit | setjmp, longjmp | fork