发布时间:2013-04-29 16:57:07
/** sol04.20.c ** ------------------------------------------------------------sol04.20.c is aversion of ls -l that prints the inode number in thestyle of ls -li. ** ------------------------------------------------------------ ** ** * ls2.c with the -i option included * *purpose list .........【阅读全文】
发布时间:2013-04-28 18:52:21
/** mv1.c ** ------------------------------------------------------------This version of mv accepts a directory name as the second argument. In that case the source item ismoved into that directory. sol04.16.c. ** ------------------------------------------------------------ ** * A ve.........【阅读全文】
发布时间:2013-04-28 18:13:23
/** mkdir1.c ** ------------------------------------------------------------A version of mkdir that supports the -p option is:sol04.15.c.This program allows multiple names on the command line. ** ------------------------------------------------------------ ** ** * A version of mkdir tha.........【阅读全文】
发布时间:2013-04-26 22:00:06
/** more3.c ** ------------------------------------------------------------A version of more0.c that knows about the number of lines on theterminal ismore3.c.This program shows how to use ioctl to read the number ofrows from the driver. ** --------------------------------------------.........【阅读全文】
发布时间:2013-04-26 19:05:36
一些常见的错误的值,print出来的只有值,对应的错误列表,我在linux内核中找到了,分享出来。对比查看会相对方便。#define EPERM 1 /* Operation not permitted */#define ENOENT 2 /* No such file or directory */#define ESRCH 3 /* No such pr.........【阅读全文】