//my_err.h#include /* for definition of errno */ #include /* ISO C variable aruments */ static void err_doit(int, int, const char *, va_list); /* * No... ...
分类:
其他好文 时间:
2018-07-23 14:45:16
阅读次数:
206
CLOSE_WAIT, signal, sigaction,errno = 104, write, RST ...
分类:
其他好文 时间:
2018-07-22 19:26:13
阅读次数:
221
dup(2) dup2(2) #include <unistd.h>int dup(int oldfd);功能:复制文件描述符参数:oldfd:指定源文件的描述符返回值:错误 -1 errno被设置成功 返回新的文件描述符 新的文件描述符使用未使用的、最小的文件描述符 int dup2(int ol ...
分类:
其他好文 时间:
2018-07-22 15:22:12
阅读次数:
181
1、write() 函数说明:write()会把参数buf所指的内存写入count个字节到参数放到所指的文件内。 返回值:如果顺利write()会返回实际写入的字节数。当有错误发生时则返回-1,错误代码存入errno中。 附加说明: (1)write()函数返回值一般无0,只有当如下情况发生时才会返 ...
分类:
其他好文 时间:
2018-07-21 19:20:15
阅读次数:
235
#include #include #include #include #include #include #include #include #include #include #include #include #define MAXEVENTNUM 5000 #define LISTENNUM... ...
分类:
其他好文 时间:
2018-07-21 11:58:27
阅读次数:
169
open和fopen_s用法的比较 fopen 和 fopen_s fopen用法: fp = fopen(filename,"w")。 fopen_s用法:,须定义另外一个变量errno_t err,然后err = fopen_s(&fp,filename,"w")。 返回值: fopen打开文件 ...
分类:
其他好文 时间:
2018-07-20 16:49:23
阅读次数:
126
报错信息:Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000085330000, 2060255232, 0) failed; error='Cannot allocate memory' (err ...
分类:
其他好文 时间:
2018-07-20 01:12:01
阅读次数:
572
#python run_case.py #在terminal中执行.py文件 在terminal中执行.py文件: 注: 无法使用terminal来打开那个文件 会显示如下:python: can't open file 'DAY1.py': [Errno 2] No such file or di ...
分类:
其他好文 时间:
2018-07-20 00:24:18
阅读次数:
142
在进行数据库备份的时候发现服务器报 mysqldump: Got error: 1135: Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual ...
分类:
数据库 时间:
2018-07-18 16:55:45
阅读次数:
341