The operating system imposes a limit on the amount of memory that can be locked. When this limit is reached, the overlapped operations will fail with the WSAENOBUFS error.
操作系统有一个锁定最大数的限制,一旦超过这个锁定的限制,那么就会产生WSAENOBUFS错误了。
The read function returns the number of bytes read (up to the maximum that you specify), -1 on error, or zero if the end of the file has been reached.
read函数返回读取的字节数(最高为您指定的最大值);或者 -1,表示错误;或者0,如果已经到达文件末尾。
The read function returns the number of bytes read (up to the maximum that you specify), -1 on error, or zero if the end of the file has been reached.
read函数返回读取的字节数(最高为您指定的最大值);或者 -1,表示错误;或者0,如果已经到达文件末尾。
应用推荐