Linux
kiss0807
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
gzip: stdin: unexpected end of file Ubuntu 中断更新带来的异常
今天在Ubuntu下更新源时突然中断,之后更新源都会报错. 异常信息: gzip: stdin: unexpected end of file Err http://mirror.zjut.com lucid/universe Sources Sub-process gzip returned an error co...2011-11-01 18:20:31 · 626 阅读 · 0 评论 -
C语言 输入问题
下面程序用来描述我遇到的问题 希望第一次读buffer,c,第二次也从外部读取buffer,c,第三次...... 可实际上第二次会直接忽略gets() [b]-----input.c---------[/b] [code="c"] #include #include int main(int argc, char *argv[]) { char buffer...2011-12-18 01:29:05 · 217 阅读 · 0 评论 -
Vim 的小技巧
[b]2011/12/24[/b] [b]1.多行注释:[/b] a.Ctrl+v,进入列模式; b.在行首选择需要注释的行; c.按下[b]“I”[/b],然后输入注释符(“//”、“#”等); ---大写的I d.按下两次“Esc”键(看到网上有些资料只是说按下“Esc”,但在我的机器上要按两次才 行)。 [b]2.删除多行注释:[/b] a.按下Ctrl...2011-12-19 18:30:39 · 108 阅读 · 0 评论 -
进程控制 Linux C fork() execl() exit() wait()
进程控制实验: 在linux下面使用c语言利用系统调用fork(), execl(), exit(), wait() [b]fork()用来复制进程[/b] int fork() turns a single process into 2 identical processes, known as the parent and the child. On success, fork()...2011-11-07 18:32:41 · 1153 阅读 · 0 评论
分享