自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (4)
  • 收藏
  • 关注

原创 Git权威指南.pdf

Git权威指南.pdf

2013-03-29 19:51:53 1533

转载 do{ ... } while(0)

为什么在内核中碰到很多 #defines ... do{ ... } while(0)?   有以下几点原因:   ·空语句在编译时候会出现警告,所以有必要用#define FOO do { } while(0).   ·这样做是为了能够在里面定义局部变量   ·这样做是为了能够在条件语句中使用复杂的宏定义. 例如下面这段代码:   #define FOO(x) \

2013-03-28 14:24:36 594

原创 指针 数组

--------------指针---------------- int a=10; int *p=&a; -------------指针的指针----------- int b=20; int *p=&b; int **p2p=&p; -------------简单数组----------------- int c[10];//整数数组,含有10个整数元素

2013-03-28 01:28:37 601

原创 printf("%d%d%d%d\n", a,b,c);

#include int main(int argc, const char *argv[]) { int a =1, b = 2, c = 6; printf("%d%d%d%d\n", a,b,c); return 0; } ./a.out 126-589225216

2013-03-21 10:06:39 3584

转载 内存 管理

一提到内存 管理 ,我们头脑中闪出的两个概念,就是虚拟内存,与物理内存。这两个概念主要来自于linux 内核的支持。 Linux在内存管理上份为两级,一级是线性区,类似于00c73000-00c88000,对应于虚拟内存,它实际上不占用实际物理内存;一级是具体的物理页面,它对应我们机器上的物理内存。 这 里要提到一个很重要的概念,内存的延迟分配。Linux内核在用户 申请内存的时候,只

2013-03-14 09:40:15 1187 1

转载 Ubuntu root的密码

Ubuntu root的密码是Ubuntu用户必须学习使用的,由于Ubuntu root密码还有很多人不会应用所以由我来简述说明下,至于管用否就看人品了.Ubuntu root系统的特性,既可作为高校计算机专业Ubuntu root学习,也可以作为Ubuntu root系统开源爱好者、Ubuntu root系统用户的学习。 第一部分:如何破解Ubuntu root密码。 Linux安装

2013-03-13 16:00:15 2372

原创 ubuntu 查看系统版本号 查看硬件设备信息

cat /etc/issue lshw

2013-03-13 15:54:37 904

原创 小端字节序 强制类型转换

/* * ===================================================================================== * * Filename: point.c * * Description: * * Version: 1.0 * Created: 2013年0

2013-03-12 14:43:10 1830

转载 strtol,strtoul,strtod

Technorati 标签: strtol,strtoul,strtod 函数原型: long int strtol ( const char * str, char ** endptr, int base ); unsigned long int strtoul ( const char * str, char ** endptr, int base ); double strt

2013-03-01 18:15:05 3113

转载 strtok strsep

char *  strtok ( char * string, const char * delimiters ); Sequentially truncate string if delimiter is found.   If string is not NULL, the function scans string for the first occurrence of any ch

2013-03-01 18:14:19 668

auto_login_ssh.tar.gz

auto_login_ssh.tar.gz

2013-04-10

linux_scm的command

linux_scm的command

2013-04-10

linux_command

command for linux and android this is my teacher,give me

2013-03-29

busybox_android

busybox busybox_android 编译好的

2013-03-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除