binutils-2.21]# make configure-host [root@T-bagwell binutils-2.21]# make [root@T-bagwell binutils-2.21...[root@T-bagwell mnt]# wget ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-4.3.2.tar.bz2 [root@T-bagwell...mpc-0.8.1.tar.gz [root@T-bagwell mnt]# tar jxvf gmp-4.3.2.tar.bz2 [root@T-bagwell mnt]# tar jxvf mpfr...-2.4.2.tar.bz2 然后接着开始编译 [root@T-bagwell mnt]# cd gmp-4.3.2 [root@T-bagwell gmp-4.3.2]# ....@T-bagwell gmp-4.3.2]# cd ..
配置用户名 git config --global user.name T-bagwell 配置用户email git config --global user.email T-bagwell...@chinaunix.net 配置默认的编辑器为vim git config --global core.editor vim 查看配置 [root@T-bagwell P5905]# git config...-l color.ui=auto user.email=T-bagwell@ChinaUnix.net user.name=T-bagwell core.editor=vim core.repositoryformatversion...后面可以看到 [root@T-bagwell P5905]# git log commit 24ba0f009c0923d33ddcf7bebf3128a3febc1848 Author: T-bagwell...bagwell@ChinaUnix.net> Date: Thu Mar 3 12:18:53 2011 +0800 support rear camera at 5905
感谢小云同学,兰兰同学,以及其他同学的交流 使用find的参数实现 [root@T-bagwell mnt]# find ....mnt]# 使用ls+awk组合管道 [root@T-bagwell mnt]# find ..../php-5.3.6.tar.gz [root@T-bagwell mnt]# ls -l ....mnt]# [root@T-bagwell mnt]# find ..../php-5.3.6.tar.gz [root@T-bagwell mnt]#
[root@T-bagwell mydroid]# declare -x ANDROID_PRODUCT_OUT="/Work/mydroid/out/target/product/generic"...[root@T-bagwell mydroid]# ....none /dev/cpuctl cgroup rw,cpu 0 0 /dev/block/mtdblock2 /cache yaffs2 rw,nosuid,nodev 0 0 # [root@T-bagwell...mydroid]# [root@T-bagwell mydroid]# [root@T-bagwell mydroid]# 如图 ?
include #include #include #define CUTBAG_DIR "CU_T-bagwell..." #define MAX_STRING_TEST 20 static struct kmem_cache *T_bagwell_slab_test; struct test{ int...T_bagwell_slab_test){ printk(KERN_WARNING "kmem_cache_create faild\n"); ...return -1; } test_for_cu = kmem_cache_alloc(T_bagwell_slab_test, GFP_KERNEL); ..., test_for_cu); kmem_cache_destroy(T_bagwell_slab_test); } module_init(test_init); module_exit
:%s/^/T-bagwell/ 在全文每行开头添加T-bagwell :%s/a/b/g 全文替换a为b :%!
int new_height = 0; int width_div = 0; int height_div = 0; int ret = 0; printf("T-bagwell...width, height); width_div = width/ret; height_div = height/ret; printf("T-bagwell...the width : height is %d:%d\n", width_div, height_div); printf("T-bagwell Please input the...new_width); new_height = get_height(new_width, width_div, height_div ); printf("T-bagwell
zetc_table[i].video_width, argv[1], strlen(argv[1]))) { fprintf(stdout, "T-bagwell...the video bitrate = |%s| \n" "T-bagwell the audio bitrate = |%s|\n",
p->tm_sec, msec ); fprintf(stdout, "T-bagwell...(time_string, 0, 32); uuid = get_time_for_uuid(time_string); fprintf(stdout, "T-bagwell
,编译了一个静态的gdb [root@T-bagwellgdb]# ll gdb-rwxr-xr-x 1 root root 11937427 2009-09-14 07:23 gdb[root@T-bagwell...LSB executable, ARM, version 1 (SYSV), statically linked, for GNU/Linux 2.6.14, not stripped[root@T-bagwell
mount命令要在应用程序里面做很多 [root@T-bagwell ~]# strace mount -t ext4 /dev/sdc1 /mntexecve("/bin/mount", ["mount...[root@T-bagwell ~]# strace mount -t ext4 -o remount /dev/sdc1 /mntexecve("/bin/mount", ["mount", "-t"
read一个文件 首先是通过系统调用open一个文件 大家好,我是ChinaUnix的T-bagwell 然后通过系统调用去read一个文件,为什么man 2 read的时候或者man 2 write的时候的参数与写的驱动的...unsigned long f_mnt_write_state; 954 #endif 955 }; 从上面可以看到f_pos,记录偏移值的,后面read的时候会用到, 大家好,我是Chinaunix的T-bagwell...} 317 inc_syscr(current); 318 } 319 320 return ret; 321 } 大家好,我是ChinaUnix的T-bagwell...先确认一下要读的文件是否可以去读,如果不让读或者不让写的话,就只能直接推出去了,否则可以继续上面的代码里面有两个read接口,一个是file的read,大家好,我是ChinaUnix的T-bagwell
乌克兰程序员Paul Bagwell,画了一张分析图,说明应该怎么选择。这是我见过的最简单的讲解,只用两分钟,你就能搞清楚这六种许可证之间的最大区别。 下面是我制作的中文版,请点击看大图。
后来从sun网站上下了个jdk,就可以了 jdk-1_5_0_22-linux-i586.bin 然后直接 [liuqi@T-bagwell mydroid]$ .
乌克兰程序员Paul Bagwell,画了一张分析图,说明应该怎么选择。这是我见过的最简单的讲解,只用两分钟,你就能搞清楚这六种许可证之间的最大区别。 下面是我制作的中文版,请点击看大图。 ? (完)
include #include #include #define CUTBAG_DIR "CU_T-bagwell
linux/module.h>#include #include #include MODULE_AUTHOR("T-bagwell_CU
然后进入ext4_iget进行了文件操作,目录操作,链接操作等函数的注册,比如读文件 然后回到do_new_mount,将挂载点添加到列表里就可以了,这个列表在/proc中可以展现出来 [root@T-bagwell...rpc_pipefs rw,relatime 0 0/dev/sdb1 /media/android ext4 rw,relatime,barrier=1,data=ordered 0 0[root@T-bagwell
int main(int argc, char argv[]) { while (FCGI_Accept() >= 0) { printf("liuqi,T-bagwell
为了实现某些功能,实现了这个函数,封装了几个接口 /** * @file statfs.c * @brief get disk infomation * @author T-bagwell@ChinaUnix.net
领取专属 10元无门槛券
手把手带您无忧上云