2014年4月28日

摘要: #includeint getopt(int argc,char *const argv[],const char *optstring); extern char *optarg; extern int optind,opterr,optopt;optstring为一个字符列表,每个字符代表一个单字符选项全局变量:optarg:存数据optindopterr:控制是否向STDERR打印... 阅读全文
posted @ 2014-04-28 21:40 C Pointer 阅读(703) 评论(0) 推荐(0) 编辑

2014年4月26日

摘要: #include#include#include#include#includeint main(int argc,char* argv[]){ pid_t pid_id=0; char* pid; if(argc!=2) { fprintf(stderr,"Usage: kill pid \n"); exit(1); } pi... 阅读全文
posted @ 2014-04-26 01:47 C Pointer 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 直接上图 添加了一个名为"Ubuntu10.04-en"的共享文件夹 但是按照它说的命令 mount -t vboxsf share mount_point 打入,然后悲剧了 错误 "/sbin/mount.vboxsf: mounting failed with the error: Protocol error" 后来才发现,上图中的命令中的share改为共享文件夹的名称就挂载... 阅读全文
posted @ 2014-04-26 01:44 C Pointer 阅读(238) 评论(0) 推荐(0) 编辑

导航