File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 39
39
40
40
indent :
41
41
clang-format -i * [.ch]
42
+ clang-format -i other/* [.ch]
Original file line number Diff line number Diff line change 2
2
* cat_nonblock.c - open a file and display its contents, but exit rather than
3
3
* wait for input.
4
4
*/
5
- #include <errno.h> /* for errno */
6
- #include <fcntl.h> /* for open */
7
- #include <stdio.h> /* standard I/O */
5
+ #include <errno.h> /* for errno */
6
+ #include <fcntl.h> /* for open */
7
+ #include <stdio.h> /* standard I/O */
8
8
#include <stdlib.h> /* for exit */
9
9
#include <unistd.h> /* for read */
10
10
11
11
#define MAX_BYTES 1024 * 4
12
12
13
13
int main (int argc , char * argv [])
14
14
{
15
- int fd ; /* The file descriptor for the file to read */
16
- size_t bytes ; /* The number of bytes read */
15
+ int fd ; /* The file descriptor for the file to read */
16
+ size_t bytes ; /* The number of bytes read */
17
17
char buffer [MAX_BYTES ]; /* The buffer for the bytes */
18
18
19
19
/* Usage */
You can’t perform that action at this time.
0 commit comments