
Kernel common function API
文章平均质量分 81
kasalyn
这个作者很懒,什么都没留下…
展开
-
cpu_set(3) - Linux man page
From: http://linux.die.net/man/3/cpu_set Name CPU_SET, CPU_CLR, CPU_ISSET, CPU_ZERO, CPU_COUNT, CPU_AND, CPU_OR, CPU_XOR, CPU_EQUAL, CPU_ALLOC, CPU_ALLOC_SIZE, CPU_FREE, CPU_SET_S, CPU_CLR_S, CPU转载 2013-07-13 00:20:40 · 3197 阅读 · 0 评论 -
size_t
$ man 2 write WRITE(2) NAME write - write to a file descriptor 描述符 SYNOPSIS #include ssize_t write(int fd, const void *buf, size_t count);原创 2013-07-12 19:47:26 · 557 阅读 · 0 评论 -
fseek(3) - Linux man page
From: http://linux.die.net/man/3/fseek Name fgetpos, fseek, fsetpos, ftell, rewind - reposition a stream Synopsis #include stdio.h> int fseek(FILE *stream, long offset, int whence); long转载 2013-07-13 21:01:51 · 1293 阅读 · 0 评论 -
lseek(2) - Linux man page
From: http://linux.die.net/man/2/lseek Name lseek - reposition read/write file offset Synopsis #include sys/types.h> #include unistd.h> off_t lseek(int fd, off_t offset, int whence); D转载 2013-07-13 20:37:44 · 1116 阅读 · 0 评论 -
sched_setaffinity(2) - Linux man page
From http://linux.die.net/man/2/sched_setaffinity Name sched_setaffinity, sched_getaffinity - set and get a process's CPU affinity mask Synopsis #define _GNU_SOURCE /* See feature转载 2013-07-12 23:29:13 · 1907 阅读 · 0 评论 -
C语言snprintf函数
from: http://blog.youkuaiyun.com/ccccdddxxx/article/details/7370169 int snprintf(char *restrict buf, size_t n, const char * restrict format, ...); 函数说明:最多从源串中拷贝n-1个字符到目标串中,然后再在后面加一个0。所以如果目标串的大小为n转载 2013-08-10 17:46:40 · 770 阅读 · 0 评论