码迷,mamicode.com
首页 >  
搜索关键字:errno strerror    ( 1034个结果
一些IPC常用头文件
//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
微信小程序&PHP 微信支付接口调用
小程序端 服务器端 ...
分类:微信   时间:2018-07-22 20:05:41    阅读次数:283
越努力越幸运--2018年7月22日周记
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
read和write函数
1、write() 函数说明:write()会把参数buf所指的内存写入count个字节到参数放到所指的文件内。 返回值:如果顺利write()会返回实际写入的字节数。当有错误发生时则返回-1,错误代码存入errno中。 附加说明: (1)write()函数返回值一般无0,只有当如下情况发生时才会返 ...
分类:其他好文   时间:2018-07-21 19:20:15    阅读次数:235
tcp epoll echo服务端程序
#include #include #include #include #include #include #include #include #include #include #include #include #define MAXEVENTNUM 5000 #define LISTENNUM... ...
分类:其他好文   时间:2018-07-21 11:58:27    阅读次数:169
fopen和fopen_s用法的比较
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
elasticsearch常见异常及解决办法
报错信息: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
sys模块
#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 for a possible OS-dependent bug when trying to connect 解决办法
在进行数据库备份的时候发现服务器报 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
1034条   上一页 1 ... 28 29 30 31 32 ... 104 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!