Commit | Line | Data |
---|---|---|
1 | #include <stdio.h> | |
2 | #include <math.h> | |
3 | #include <string.h> | |
4 | #include <unistd.h> | |
5 | ||
6 | #define BUF_SIZ 100000 | |
7 | #define LINE_LENGTH 72 | |
8 | // ssize_t getline(char **lineptr, size_t *n, FILE *stream); | |
9 | ||
10 | int main(int argc, char ** argv){ | |
11 | char buffer; | |
12 | while (read(0,&buffer,1)) { | |
13 | buffer&=127; | |
14 | write(1,&buffer,1); | |
15 | } | |
16 | ||
17 | } // main() | |
18 | // Ende | |
19 |