- 博客(13)
- 资源 (1)
- 收藏
- 关注
转载 linux echo命令的-n、-e两个参数
From: http://blog.sina.com.cn/s/blog_4da051a6010184uk.htmlecho -n 不换行输出$echo -n "123"$echo "456"最终输出 123456而不是123456echo -e 处理特殊字符若字符串中出现以下字符,则特别加以处理,而不会将它当成一般文字输出:\a
2013-07-26 18:31:12 2003
转载 States of Cache line
Refer to: http://en.wikipedia.org/wiki/MOESI_protocolhttp://en.wikipedia.org/wiki/MESI_protocolMOESI protocolIn computing, MOESI is a full cache coherency protocol that encompasses a
2013-07-24 11:15:37 846
转载 Linux Notification
http://blog.csdn.net/adaptiver/article/details/6651830
2013-07-14 17:13:05 538
转载 文件包含#include
转自: C程序设计(第二版) 谭浩强在#include命令中,文件名可以用双撇号或尖括号括起来,如可以在file1.c中用:#include or#include "file2.h"都是合法的。二者的区别:用尖括号(即形式)时,系统到存放C库函数头文件所在的目录中寻找要包含的文件,这称为标准方式。用双撇号(即"file2.h"形式)时,系统现在用户当
2013-07-14 16:11:36 1307
转载 fseek(3) - Linux man page
From: http://linux.die.net/man/3/fseekNamefgetpos, fseek, fsetpos, ftell, rewind - reposition a streamSynopsis #include stdio.h>int fseek(FILE *stream, long offset, intwhence); long
2013-07-13 21:01:51 1269
转载 lseek(2) - Linux man page
From: http://linux.die.net/man/2/lseek Namelseek - reposition read/write file offset Synopsis#include sys/types.h>#include unistd.h>off_t lseek(int fd, off_t offset, intwhence); D
2013-07-13 20:37:44 1086
转载 cpu_set(3) - Linux man page
From: http://linux.die.net/man/3/cpu_set NameCPU_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 3112
转载 sched_setaffinity(2) - Linux man page
From http://linux.die.net/man/2/sched_setaffinity Namesched_setaffinity, sched_getaffinity - set and get a process's CPU affinity maskSynopsis#define _GNU_SOURCE /* See feature
2013-07-12 23:29:13 1878
原创 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 538
原创 总结typedef用法
经常碰到类似的句子,怎么都理解不了。今天又看到一个是在头文件里的。大体如下:#define _GNU_SOURCE#include typedef struct cpu_set_t ;size_t CPU_SETSIZE ;void CPU_SET(unsigned long cpu , cpu_set_t *set);void CPU_CLR(unsigned lon
2013-07-12 19:21:16 843
LINUX和UNXIS SHELL编程指南
2010-07-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人