-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtool.h
More file actions
33 lines (29 loc) · 711 Bytes
/
tool.h
File metadata and controls
33 lines (29 loc) · 711 Bytes
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
/*==================================
* Copyright (C) 2015 All rights reserved.
*
* 文件名称:tool.h
* 创 建 者:moon
* 创建日期:2015年01月29日
* 描 述:
*
================================================================*/
#ifndef TOOL_H
#define TOOL_H
#pragma once
#include<sys/types.h>
#include<sys/time.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<arpa/inet.h>
#include<stdio.h>
#include<assert.h>
#include<memory.h>
#include<signal.h>
#include<unistd.h>
#include<errno.h>
#include<fcntl.h>
#include<stdlib.h>
#include<sys/epoll.h>
#define perr() printf("error no: %d :%s\n",errno,strerror(errno));
void aeGetTime(long *seconds, long *milliseconds);
#endif