Linux 内核Makefile文件 --译自Linux3.9.5 Kernel
Makefiles(内核目录documention/kbuild/makefiles.txt) This document describes the
Linux kernel Makefiles 本文当介绍了Linu...
分类:
系统相关 时间:
2014-05-09 23:08:47
阅读次数:
631
1.document.write(""); 输出语句 2.JS中的注释为//
3.传统的HTML文档顺序是:document->html->(head,body)
4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,documen...
分类:
Web程序 时间:
2014-05-09 19:40:08
阅读次数:
470
ping 192.168.1.150
开启telnet服务:
net start telnet//start telent
telnet 192.168.1.150 1433
解决类似80端口被占用问题:
netstat -ano 显示端口和pid
禁用http.sys:(可以看到pid 4 80端口的被NT kernel & System 占用)
1. net st...
arch/arm/kernel/process.c实现pm_power_off=关机函数参考board-omap3touchbook.c文件中pm_power_off=omap3_touchbook_poweroff;staticvoidomap3_touchbook_poweroff(void)
{
intpwr_off=TB_KILL_POWER_GPIO;
if(gpio_request_one(pwr_off,GPIOF_OUT_INIT_LOW,"DVIreset")<0..
分类:
系统相关 时间:
2014-05-09 07:03:00
阅读次数:
470
android.permission.WAKE_LOCK------------>keep the screen from dimming or the
processor from sleeping, or uses the MediaPlayer.setScreenOnWhilePlaying(...
分类:
移动开发 时间:
2014-05-09 06:37:42
阅读次数:
280
sys.c 代码分析
setregid
/*
* This is done BSD-style, with no consideration of the saved gid, except
* that if you set the effective gid, it sets the saved gid too. This
* makes it possib...
分类:
系统相关 时间:
2014-05-09 02:13:12
阅读次数:
621
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
测试程序:
#include
#include
struct dev
{
int a;
char b;
float c;
};
struct dev devs[]=
{
{
1,'a',7.0,
},
{
1,'a',7.0,
},
{
...
分类:
系统相关 时间:
2014-05-09 02:10:16
阅读次数:
494
vsprintf.c 代码笔记
你
/*
* linux/kernel/vsprintf.c
*
* (C) 1991 Linus Torvalds
*/
/* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */
/*
* Wirzenius wrote this portably, Torvalds fucked...
分类:
系统相关 时间:
2014-05-09 01:38:20
阅读次数:
480
fork.c 代码分析笔记
verifiy_area
long last_pid=0; //全局变量,用来记录目前最大的pid数值
void verify_area(void * addr,int size) // addr 是虚拟地址 ,size是需要写入的字节大小
{
unsigned long start;
start = (unsigned lo...
分类:
系统相关 时间:
2014-05-08 17:15:39
阅读次数:
485
2.3当创建一个数组对象时, 实际上是创建了 引用数组。且每个引用 都自动被初始化为 nulljava
看到null,就知道这个引用还没有指向某个对象也可以创建用来存放基本数据类型的数组,同样,编译器也能确保这种数组的初始化,全部置零。2.3.2
作用域java对象 可以存活于作用域之外,对象不同于...
分类:
其他好文 时间:
2014-05-08 14:46:48
阅读次数:
243