Error:when click "New Database Diagram", a error popped up and said "Attempted to read or write protected memory. This is often an indication that oth...
分类:
数据库 时间:
2014-11-04 14:42:34
阅读次数:
193
相比前些天的内容,今天的内容算是比较简单的。主要说了VT控制 码,三种排序算法:选择排序,冒泡排序,快速排序。二分查找。遍历二叉树还有posix的简单介绍。系统调用函数:open close read write lseek fstat的使用。 关于vt控制码的学习,据老刘说是为了以后的小项...
分类:
其他好文 时间:
2014-10-31 20:36:14
阅读次数:
232
.frm.myd.myiinsert delaytedshow variables like '%delayed%'lock read, write, read localpointer优先级low_priovityheight_priovity导出数据到文件 select * from t1...
分类:
数据库 时间:
2014-10-29 16:27:51
阅读次数:
148
有时候需要修改osx系统的一些默认设置,这时候会用到defaults命令,查看一下defaults的man文档,对defaults的解释如下:
defaults
— access the Mac OS X user defaults system
defaults可以对一些系统属性进行read,write和delete操作,用到比较多的是read何write操作,下面几个简单的例...
分类:
其他好文 时间:
2014-10-29 00:16:14
阅读次数:
466
今天在做测试的时候突然间很卡,用top观察了下php占用CPU达到了70%多,具体操作以下几步:1.strace -o output.txt -T -tt -e -c trace=all -p pid结果: 查了下。。一直在执行read,write操作sql语句2.ll /proc/25066/fd...
分类:
Web程序 时间:
2014-10-28 19:46:00
阅读次数:
293
read and write file is a very common operation regarding file mainuplation.However, the powerfull getline only can read line by line(with new line cha...
分类:
其他好文 时间:
2014-10-24 12:54:51
阅读次数:
161
先上一段代码:这里用到的两个常量:STDIN_FILENO ,STDOUT_FILENO 定义在unidtd.h中 并且在该头文件中定义了很多系统服务的函数原型:如 read(),write();该程序从标准输入获得信息 并将信息输出到标准输出中
分类:
系统相关 时间:
2014-10-22 23:41:38
阅读次数:
695
static struct file_operations s3c24xx_leds_fops ={
.owner = THIS_MODULE ,
//.open = s3c24xx_leds_open, .read = s3c24xx_leds_read ,
.write = s3c24xx_le...
分类:
其他好文 时间:
2014-10-16 16:09:12
阅读次数:
138
static struct file_operations s3c24xx_leds_fops ={
.owner = THIS_MODULE ,
//.open = s3c24xx_leds_open, .read = s3c24xx_leds_read ,
.write = s3c24xx_le...
分类:
其他好文 时间:
2014-10-16 15:51:02
阅读次数:
184
这里有一个我们经常提出的问题就是fread,read的区别。(当然这两个分别代表了操作文件系统的两套不同的函数,包括open,read, write, seek 等)。
一.他们的区别就是一个(read)是UNIX 中的系统调用,是类UNIX系统,提供给程序员操作文件的接口(要不然你如何操作文件?);而另外一个则是C语言提供的读取文件的函数库,自然这个函数库(ANSI)的实现是以对应的系统调用为...
分类:
其他好文 时间:
2014-10-09 16:59:37
阅读次数:
124