码迷,mamicode.com
首页 >  
搜索关键字:read    ( 19693个结果
/proc/cpuinfo
arch/arm/include/asm/cputype.h arch/arm/kernel/setup.c 1. read_cpuid_id(CPUID_ID) #define read_cpuid(reg)                                                         ({...
分类:其他好文   时间:2014-07-15 10:31:21    阅读次数:552
Perl文件读写
Perl File Handling: open, read, write and close files#====================Opening filesSolution 1:Opening a file in perlopen FILE, "filename.txt" or d...
分类:其他好文   时间:2014-07-15 09:47:39    阅读次数:222
【android官方文档】与其他App交互
发送用户到另外一个AppYOU SHOULD ALSO READ内容分享One of Android's most important features is an app's ability to send the user to another app based on an "action" ...
分类:移动开发   时间:2014-07-14 19:59:39    阅读次数:386
read links July-14
1) http://ruby-hacking-guide.github.io/intro.htmlIt has one part to discuss “Technique to read source code”. BTW, you could download kindle file from....
分类:其他好文   时间:2014-07-14 19:44:11    阅读次数:271
python 经典语句日志分析
#!/usr/bin/pythonimportredefbuffer_line():buf=open("/etc/sae/buffer_1").read()ifnotbuf:return0else:returnint(re.findall("^\d*",buf)[0])defset_last_pos(pos):open("/etc/sae/buffer_1","w").write(str(pos))if__name__==‘__main__‘:appname={}fh=open("/data0/l7.acce..
分类:编程语言   时间:2014-07-14 16:41:57    阅读次数:319
fscanf函数
int fscanf( FILE *stream, const char *format [, argument ]... ); 下面是csdn的例子: /* FSCANF.C: This program writes formatted * data to a file. It then uses fscanf to * read the various data back from...
分类:其他好文   时间:2014-07-14 16:15:19    阅读次数:207
POJ1159
?? Palindrome Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 51790   Accepted: 17831 Description A palindrome is a symmetrical string, that is, a string read...
分类:其他好文   时间:2014-07-14 16:13:57    阅读次数:221
shellAPP
1,linux操作日志记录,记录从各个ip登陆到系统的账号,指向命令及命令执行时间#!/bin/bashecho "export PROMPT_COMMAND='{ msg=\$(history 1 | { read x y; echo \$y; }); logger -p local5.info ...
分类:移动开发   时间:2014-07-14 16:02:05    阅读次数:269
[Android Pro] Android权限设置android.permission完整列表
android.permission.ACCESS_CHECKIN_PROPERTIES允许读写访问"properties”表在checkin数据库中,改值可以修改上传( Allows read/write access to the “properties” table in the checki...
分类:移动开发   时间:2014-07-14 16:00:04    阅读次数:263
read函数返回值始终为1
部分程序如下:while(count=read(fd_s,buf,512)>0)printf("count=%d\n",count);write(fd_d,buf,count);打印出来的count始终1,原因:运算符优先级的问题。改为:while((count=read(fd_s,buf,512)...
分类:其他好文   时间:2014-07-14 14:54:25    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!