• 大小: 36.81MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-22
  • 语言: 其他
  • 标签: pork  ,sem  

资源简介

简单基础的Linux高级编程相关代码,相关的实验代码,进程、线程,信号量,pv操作等

资源截图

代码片段和文件信息

#include 

int i = 0;
int main(int num char *arg[])
{
int j = 0;
static int k = 0;
int *p = malloc(4);

printf(“sys: %p\n“ arg[0]);
printf(“stack: %p\n“ &j);
printf(“heap: %p\n“ p);
printf(“g: %p %p\n“ &i &k);
printf(“code:%p\n“ main);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-07-24 08:50  15061高级编程\
     文件    15753630  2015-07-16 10:43  15061高级编程\[GNU.Linux.编程指南.(第二版)].Linux.Programming.Unleashed.Second.Edition.[美].Kurt.Wall.扫描版.pdf
     目录           0  2015-07-17 14:25  15061高级编程\day.1\
     文件       15907  2015-07-17 09:55  15061高级编程\day.1\1.space.PNG
     文件         264  2015-07-17 09:07  15061高级编程\day.1\1.space.c
     文件         691  2015-07-17 17:18  15061高级编程\day.1\2.syscall.c
     文件         360  2015-07-17 10:18  15061高级编程\day.1\3.1.defunct.c
     文件         509  2015-07-17 10:31  15061高级编程\day.1\3.2.wait.c
     文件       27408  2015-07-17 10:02  15061高级编程\day.1\3.fork.PNG
     文件         346  2015-07-17 10:10  15061高级编程\day.1\3.fork.c
     文件         357  2015-07-17 11:14  15061高级编程\day.1\4.exec.c
     文件         533  2015-07-17 11:33  15061高级编程\day.1\5.bash.c
     文件         143  2015-07-17 13:33  15061高级编程\day.1\6.system.c
     文件         149  2015-07-17 13:44  15061高级编程\day.1\7.exit.c
     文件         703  2015-07-17 14:29  15061高级编程\day.1\8.demo.c
     文件         889  2015-07-17 13:32  15061高级编程\day.1\新建 文本文档.txt
     目录           0  2015-07-20 17:10  15061高级编程\day.2\
     文件         471  2015-07-20 09:48  15061高级编程\day.2\1.pthread_create.c
     文件         575  2015-07-20 10:13  15061高级编程\day.2\2.1arg.c
     文件         577  2015-07-20 10:11  15061高级编程\day.2\2.2.arg.c
     文件         522  2015-07-20 10:13  15061高级编程\day.2\3.arg.c
     文件         714  2015-07-20 10:17  15061高级编程\day.2\4.thread_exit.c
     文件         678  2015-07-20 10:30  15061高级编程\day.2\5.pthread_cancel.c
     文件        1075  2015-07-20 13:51  15061高级编程\day.2\6.1.sem.c
     文件         834  2015-07-20 11:07  15061高级编程\day.2\6.线程同步问题.c
     文件        1085  2015-07-20 14:14  15061高级编程\day.2\7.mutex.c
     文件         890  2015-07-20 11:14  15061高级编程\day.2\7.线程间互斥.c
     文件        1340  2015-07-20 16:54  15061高级编程\day.2\8.con.c
     目录           0  2015-07-20 17:09  15061高级编程\day.2\src\
     文件         243  2015-07-20 17:08  15061高级编程\day.2\src\Makefile
     文件         938  2015-04-27 16:33  15061高级编程\day.2\src\main.c
............此处省略116个文件信息

评论

共有 条评论