-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathassist.h
37 lines (35 loc) · 799 Bytes
/
assist.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef _ASSIST_H_
#define _ASSIST_H_
#include <stdio.h>
#include <sys/resource.h>
#include <sys/times.h>
#include <signal.h>
#include <dirent.h>
#include <setjmp.h>
#include <sys/wait.h>
#include <sys/time.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
#include <pwd.h>
#include <grp.h>
#include <errno.h>
#include <netdb.h>
#include <limits.h>
#include <stdint.h>
#include <inttypes.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <ctype.h>
#include <pthread.h>
#include <sys/resource.h>
void err (const char *s);
void p_err (const char *s);
void swap_byte (unsigned char *c1, unsigned char *c2);
void swap_int (int *n1, int *n2);
int network_to_host (int bytes);
int vm (void *pos, int bytes);
#endif