Linux API(2)
-
기초 리눅스 API vol.1 연습문제 풀어보기 (4장)
4장 (159pg) 4-1. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 #include #include #include #include "../lib/tlpi_hdr.h" /* [교재] 기초 리눅스 API vol.1 (4. 10 연습문제 // 4-1) * * tee 명령은 EOF까지 표준 입력을 읽고, 입력 내용을 그대로 표..
2021.02.23 -
4장 . I/O
man7.org/linux/man-pages/man2/open.2.html open(2) - Linux manual page open(2) — Linux manual page OPEN(2) Linux Programmer's Manual OPEN(2) NAME top open, openat, creat - open and possibly create a file SYNOPSIS top #include #include #include int open(const char *pathname, int flags); int open(const man7.org 1 2 3 4 5 6 7 #include #include #include int open(const char *pathname, int flags); // 성..
2021.02.22