Last change
on this file since d628339 was
5ebff60,
checked in by dequis <dx@…>, at 2015-02-20T22:50:54Z
|
Reindent everything to K&R style with tabs
Used uncrustify, with the configuration file in ./doc/uncrustify.cfg
Commit author set to "Indent <please@…>" so that it's easier to
skip while doing git blame.
|
-
Property mode set to
100644
|
File size:
358 bytes
|
Rev | Line | |
---|
[8a9afe4] | 1 | #include <errno.h> |
---|
| 2 | #include <fcntl.h> |
---|
| 3 | |
---|
[b7d3cc34] | 4 | #include <unistd.h> |
---|
| 5 | #include <sys/socket.h> |
---|
| 6 | #include <netinet/in.h> |
---|
| 7 | #include <arpa/inet.h> |
---|
| 8 | #include <netdb.h> |
---|
| 9 | #define sock_make_nonblocking(fd) fcntl(fd, F_SETFL, O_NONBLOCK) |
---|
[701acdd4] | 10 | #define sock_make_blocking(fd) fcntl(fd, F_SETFL, 0) |
---|
[b7d3cc34] | 11 | #define sockerr_again() (errno == EINPROGRESS || errno == EINTR) |
---|
[5ebff60] | 12 | void closesocket(int fd); |
---|
Note: See
TracBrowser
for help on using the repository browser.