- 博客(3)
- 资源 (1)
- 收藏
- 关注
转载 real user ID, effective user ID,saved set-user-ID
在看APUE的时候,遇到这个UID,不知道有什么区别,在网上找了下,觉得这个写得不错,与大家共享: Each UNIX proces has 3 UIDs associated to it. Superuser privilege is UID=0.Real UID--------This is the UID of the user/process that created THIS
2008-05-07 11:24:00
924
原创 命令行下配置网络
除了通用的ifconfig外,对于Redhat/Fedora发行版,有专用的配置工具-netconfig。比较而言,netconfig可以设置IP获取方式(静态或者DHCP获取)等。netconfig --helpUsage: netconfig [OPTION...] --bootproto=(dhcp|bootp|none) Boot protocol to use --gatew
2008-05-05 15:08:00
321
转载 longjmp 和 setjmp
setjmp和longjmp的函数原型在setjmp.h中。函数原型:int setjmp(jmp_buf envbuf);setjmp函数用缓冲区envbuf保存系统堆栈的内容,以便后续的longjmp函数使用。setjmp函数初次启用时返回0值。 void longjmp(jmp_buf envbuf, int val);longjmp函数中的参数envbuf是由set
2008-05-05 09:23:00
434
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人