Mass reformat
This commit is contained in:
parent
4d27def35e
commit
df11e34235
27 changed files with 121 additions and 136 deletions
|
|
@ -1,17 +1,17 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define SOCKET_PATH "/tmp/demosocket"
|
||||
#define BUF_SIZE 128
|
||||
#define BUF_SIZE 128
|
||||
|
||||
int main(void) {
|
||||
int server_fd, client_fd;
|
||||
int server_fd, client_fd;
|
||||
struct sockaddr_un addr;
|
||||
char buf[BUF_SIZE];
|
||||
char buf[BUF_SIZE];
|
||||
|
||||
// Clean up any leftover socket file
|
||||
unlink(SOCKET_PATH);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue