file_demo.c
changeset 29 7abf6146898e
parent 27 81a574d60c15
child 77 49e0babccb23
equal deleted inserted replaced
28:54addf5893ef 29:7abf6146898e
    11 #include <fcntl.h>
    11 #include <fcntl.h>
    12 
    12 
    13 int main (int argc, char **argv)
    13 int main (int argc, char **argv)
    14 {
    14 {
    15     int fd1;
    15     int fd1;
    16 
       
    17     int fd2;
    16     int fd2;
    18 
       
    19     int mode;
    17     int mode;
    20 
    18 
    21     char *str = "Schreib mal was!";
    19     char *str = "Schreib mal was!";
    22 
    20 
    23     if (argc != 2)
    21     if (argc != 2)