CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - c B
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - c B - List
[
Linux-Unix
]
guandaotongxin
DL : 0
1、 了解系统调用pipe()的功能和实际原理 2、 编写一段程序,使用管道实现父子进程之间的通信 a) 使用系统调用fork()创建一个子进程 b) 子进程调用函数write()向父进程发送自己的进程ID和字符串” s sending a message to parent.\\n”。 c) 父进程调用函数read()通过管道读出子进程发来的消息,将消息输出屏幕,然后终止 -1, the understanding of the system call pipe () function and the principle of two actual preparation of a procedure, Pipeline father used to achieve the process of communication between a) the use of system calls fork () to create a child process b) Import Cheng called function write () to send their parent process ID of the process, and the string "'s sending a m essage to parent. \\ n. " C) the process of the function call father read () through the pipeline read to the child process the news, the news output screen, then terminated
Date
: 2008-10-13
Size
: 4.37kb
User
:
witkey_eagle
[
Linux-Unix
]
fork_textcanjian
DL : 0
1、 了解系统调用fork()、execl()、exit()、getpid()和waitpid()的功能和实现过程 2、 编写一段程序实现以下功能: a) 使用系统调用fork()创建两个子进程 b) 父进程重复显示字符串”parent:”,并使用函数getpid()显示自己的进程ID。 c) 两个子进程分别重复显示字符串”child:”,并使用函数getpid()显示自己的进程ID 3、 编写一段程序实现以下功能: a) 使用系统调用fork()创建一个子进程 b) 子进程显示自己的进程ID和字符串\": The child is calling an exec.\\n\",然后通过execl()调用系统命令ps显示当前运行的进程情况,从而更换自己的执行代码,最后调用exit()结束。 c) 父进程显示自己的进程ID和字符串” \": The parent is waiting for child to exit.\\n \",然后调用waitpid()等待子进程结束,并在子进程结束后显示”The parent exit.\\n -1, the understanding of the system call fork (), execl (), exit (), getpid (), and waitpid () function and process 2, write a procedure to achieve the following functions : a) The use of system calls fork () to create two child process b) the parent process repeated string "parent : ", and the use of function getpid () show their ID process. C) two separate child process repeated string "child :" and the use of function getpid () show their ID 3 process, to prepare a process to achieve the following functions : a) The use of system calls fork () to create a child process b) children show their ID process, and the string " : The child is calling an exec. \\ n " Then execl () call system commands ps shows currently running process, thereby replacing the execution
Date
: 2008-10-13
Size
: 8.02kb
User
:
witkey_eagle
[
Linux-Unix
]
bootloader
DL : 0
⑴ 提供简单命令 A、通过串口加载程序到指定内存 B、将程序烧写到 NANDFLASH 指定位置 C、LCD 操作函数 I、画点 II、画线 III、画圆 IV、显示图像 ⑵ bootloader 具备自我更新能力 ⑶ bootloader 可以启动 LINUX ⑷ 能通过网络传输文件(FTP/UDP)
Date
: 2008-10-13
Size
: 88.15kb
User
:
tianshanjin
[
Linux-Unix
]
Rhapsody-0.1.8.tar
DL : 0
sourceforge历史版本完整下载: http://sourceforge.net/project/showfiles.php?group_id=202044 提供了基于b树索引算法的文件数据数据库模块详见storage/目录下面的 btree.c与pager.c container目录为常用的容器实现,如果rbtree avltree map heap list vector hashtable deque T树 B树, test目录为测试程序代码经过初步测试,比较稳定。 os_api:装一些操作系统相关的接口函数。已完成event mutex sem thread pipe相关的封装 advance_container:提供优先级消息队列,普通消息队列,定时器容器。 frame:目前提供了listerner(linux下版本,模仿ace的反应器)定时器 algorithm:补充了堆排序 与快速排序 所有代码均已在windows linux与uclinux + arm44b0平台下测试 欢迎交流 msn:lsccsl@163.net mail:lsccsl@tom.com
Date
: 2008-10-13
Size
: 246.58kb
User
:
林绍川
[
Linux-Unix
]
网络客户端服务器实现
DL : 0
编写WEB客户端原型myWebBrowser和WEB服务器原型myWebServer及管理工具myManager,要求满足以下条件: 功能需求 1. myWebBrowser a) 利用HTTP的GET消息,能从任何WEB服务器中获取指定WEB页面; b) 获取WEB页面后,能将页面保存为本地文件index.html; c) 能显示index.html文件源码; d) 能调用Linux系统中的Web浏览器(如mozilla)正确显示index.html页面。 2. myWebServer a) 能接受WEB浏览器的连接请求; b) 支持HTTP的GET消息,并正确处理该消息; c) 只支持静态网页请求(即只支持html页面请求); d) 支持并发服务;, 3. myManager a) 可以启停myWebServer b) 可以同时启动指定数量的myWebBrowser c) 可以获取myWebServer和myWebBrowser进程的统计数据 i. myWebServer:当前连接数、已处理连接数、成功请求数、失败请求数等 ii. myWebBrowser: 活动进程id、每个请求的平均响应时间
Date
: 2011-11-06
Size
: 102.8kb
User
:
xiaogezi
[
Linux-Unix
]
gcc-4.1.0.tar
DL : 0
linux下编程用 编译软件,gcc,对学习c,c++语言很好用-with compiler software, gcc, to learn c, c good with language
Date
: 2025-12-21
Size
: 48.44mb
User
:
mahongmei
[
Linux-Unix
]
guandaotongxin
DL : 0
1、 了解系统调用pipe()的功能和实际原理 2、 编写一段程序,使用管道实现父子进程之间的通信 a) 使用系统调用fork()创建一个子进程 b) 子进程调用函数write()向父进程发送自己的进程ID和字符串” s sending a message to parent.\n”。 c) 父进程调用函数read()通过管道读出子进程发来的消息,将消息输出屏幕,然后终止 -1, the understanding of the system call pipe () function and the principle of two actual preparation of a procedure, Pipeline father used to achieve the process of communication between a) the use of system calls fork () to create a child process b) Import Cheng called function write () to send their parent process ID of the process, and the string "'s sending a m essage to parent. \ n. " C) the process of the function call father read () through the pipeline read to the child process the news, the news output screen, then terminated
Date
: 2025-12-21
Size
: 4kb
User
:
[
Linux-Unix
]
fork_textcanjian
DL : 0
1、 了解系统调用fork()、execl()、exit()、getpid()和waitpid()的功能和实现过程 2、 编写一段程序实现以下功能: a) 使用系统调用fork()创建两个子进程 b) 父进程重复显示字符串”parent:”,并使用函数getpid()显示自己的进程ID。 c) 两个子进程分别重复显示字符串”child:”,并使用函数getpid()显示自己的进程ID 3、 编写一段程序实现以下功能: a) 使用系统调用fork()创建一个子进程 b) 子进程显示自己的进程ID和字符串": The child is calling an exec.\n",然后通过execl()调用系统命令ps显示当前运行的进程情况,从而更换自己的执行代码,最后调用exit()结束。 c) 父进程显示自己的进程ID和字符串” ": The parent is waiting for child to exit.\n ",然后调用waitpid()等待子进程结束,并在子进程结束后显示”The parent exit.\n -1, the understanding of the system call fork (), execl (), exit (), getpid (), and waitpid () function and process 2, write a procedure to achieve the following functions : a) The use of system calls fork () to create two child process b) the parent process repeated string "parent : ", and the use of function getpid () show their ID process. C) two separate child process repeated string "child :" and the use of function getpid () show their ID 3 process, to prepare a process to achieve the following functions : a) The use of system calls fork () to create a child process b) children show their ID process, and the string " : The child is calling an exec. \ n " Then execl () call system commands ps shows currently running process, thereby replacing the execution
Date
: 2025-12-21
Size
: 8kb
User
:
[
Linux-Unix
]
Rhapsody-0.1.8.tar
DL : 0
sourceforge历史版本完整下载: http://sourceforge.net/project/showfiles.php?group_id=202044 提供了基于b树索引算法的文件数据数据库模块详见storage/目录下面的 btree.c与pager.c container目录为常用的容器实现,如果rbtree avltree map heap list vector hashtable deque T树 B树, test目录为测试程序代码经过初步测试,比较稳定。 os_api:装一些操作系统相关的接口函数。已完成event mutex sem thread pipe相关的封装 advance_container:提供优先级消息队列,普通消息队列,定时器容器。 frame:目前提供了listerner(linux下版本,模仿ace的反应器)定时器 algorithm:补充了堆排序 与快速排序 所有代码均已在windows linux与uclinux + arm44b0平台下测试 欢迎交流 msn:lsccsl@163.net mail:lsccsl@tom.com
Date
: 2025-12-21
Size
: 247kb
User
:
林绍川
[
Linux-Unix
]
libxml2-2.6.30.tar
DL : 0
c语言编写的xml解析器,可以方便的遍历,插入删除节点等操作-c language xml parser, you can easily traverse, insert the delete node operation, etc.
Date
: 2025-12-21
Size
: 4.51mb
User
:
蓝色精灵
[
Linux-Unix
]
telnet.c
DL : 0
一个小的telnet程序与大家共享,/* 本程序支持如一些参数: * --host IP地址 或者 -H IP地址 * --port 端口 或者 -P 端口 * --back 监听数量 或者 -B 监听数量 * --dir 服务默认目录 或者 -D 服务默认目录 * --log 日志存放路径 或者 -L 日志存放路径 * --daemon 使程序进入后台运行模式 */ -A small telnet program to share with you,/* This program supports a number of parameters such as:*- host IP address or-H IP Address*- port-port or-P port*- back to monitor the number of or-B monitor the number of*- dir default directory service, or-D services to the default directory*- log log storage path or-L log storage path*- daemon to make the procedure to enter the background running mode* /
Date
: 2025-12-21
Size
: 3kb
User
:
lph
[
Linux-Unix
]
myshell
DL : 0
应用UNIX的fork()等系统调用,编写一个c程序具有以下功能: a) 实现Shell的基本功能,包括有:打印提示符;接受和分析命令行(滤去无效的空格、tab符号以及换行符等);执行命令(要有出错处理;输入exit或者bye退出);返回父进程; b) 处理后台程序(不需要wait) c) 处理多行命令(分析命令行中的‘ ’并处理之) d)应用 dup(), pipe()系统调用具有输入输出重定向以及管道功能;-Application of UNIX s fork () system call, etc., to prepare a c program has the following features: a) the realization of the basic functions of Shell, including: print prompt accepted and analysis of the command line (least squares void spaces, tab symbols, as well as for Bank address, etc.) the implementation of the command (must be an error processing enter exit or quit bye) return to the parent process b) procedures for dealing with the background (no wait) c) to deal with multi-line command (command-line analysis of the and to deal with of) d) Application of dup (), pipe () system call with input and output redirection and pipes function
Date
: 2025-12-21
Size
: 4kb
User
:
晏珏
[
Linux-Unix
]
firstGTK
DL : 0
一个基于GTK+的单词数值计算器,1、 按照规则计算单词的值,如果 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 26个字母(全部用大写)的值分别为 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26,如: WINJACK这个单词的值就为:W+I+N+J+A+C+K=23+9+14+1+3+11=71% HARDWORK=H+A+R+D+W+O+R+D=8+1+18+4+23+15+18+11=98% LOVE=L+O+V+E=12+15+22+5=54% LUCK=L+U+C+K=12+21+3+11=47% ATTITUDE= A+T+T+I+T+U+D+E=1+20+20+9+20+24+4+5=100% 2、对程序的界面布局参考如下图所示,在第一个单行文本框输入一个单词,点击“计算”按钮,按照以上算法计算出该单词的值。 3、如果在最下面的单行文本框输入一个文件路径,此文件每行记录一个单词,那么经过程序计算出各个单词的值,并把结果输出到当前目录下result.txt文件中。如果文件不存在,应该提示错误。 -err
Date
: 2025-12-21
Size
: 1kb
User
:
翔
[
Linux-Unix
]
LinuxProcessCommunication
DL : 6
创建两个生产者进程和两个消费者进程,生产者进程a需要生成10000个整数,每次都将自己的进程号(用getpid()函数获得)和生成的整数放入共享内存中(共享内存大小为64Byte)。生产者b每次从26个英文字母中选一个,并将自己的进程号和选中的字母放入共享内存中,直到26个字母全部都选中。消费者进程c负责从共享内存中读取数据生产者进程a的数据并且将这些数据写入文件a.out。消费者进程d从共享内存读取进程b的数据后写入b.out中。-The process of the creation of two producers and two consumers process, producers process a need to generate 10,000 integers, each of its own process (using getpid () function to obtain) and generated integer Add shared memory ( shared memory size of 64Byte). Producer b each 26 letters of the alphabet from a selected and the process of their own and select Add shared memory of the letters until all 26 letters selected. C is responsible for the consumer process to read from shared memory data producers and the process of a data write to file these data a.out. Consumer process d from the process of shared memory to read the data b in b.out write.
Date
: 2025-12-21
Size
: 34kb
User
:
ZHANG
[
Linux-Unix
]
linux_boa_cgic
DL : 1
感谢徐德志上传的那个web-cgi,我的这个源码是用于项目的,对一个嵌入式linux设备的参数设置,很适合LINUX c的web开发-Thank Xu-Zhi upload that web-cgi, I have this source code is used for the project on an embedded linux device parameter settings, it is suitable for LINUX c Development of the web
Date
: 2025-12-21
Size
: 1.32mb
User
:
龚嘉
[
Linux-Unix
]
c-kermit.tar
DL : 0
c-Kermit9.0,unix上用串口传输文件的软件,由哥伦比亚大学开发,早年就在NASA里使用,学习通信的好材料-c-Kermit9.0, unix on the serial port to transfer files using the software developed by Columbia University, early NASA years in the use of good material for studying communication
Date
: 2025-12-21
Size
: 2.27mb
User
:
程弓
[
Linux-Unix
]
doxygen-1.6.3.linux.bin.tar
DL : 0
Doxygen C++文档生成器, 可以很方便的自动生成文档,yeal!-Doxygen C++ Document Generator, a good tool to create doc automaticly!
Date
: 2025-12-21
Size
: 3.31mb
User
:
陈可
[
Linux-Unix
]
batman-0.3.2.tar
DL : 0
C语言 B.A.T.M.A.N.无线Mesh网络路由协议源码.供小型嵌入式Linux系统加载-demo of B.A.T.M.A.N. routing protocol for Wireless Mesh Networking
Date
: 2025-12-21
Size
: 79kb
User
:
mabel
[
Linux-Unix
]
htcpld
DL : 0
arch arm common bL_switcher_dummy_if.c b.L switcher dummy interface. -arch arm common bL_switcher_dummy_if.c b.L switcher dummy interface.
Date
: 2025-12-21
Size
: 2kb
User
:
yrrtwp
[
Linux-Unix
]
main
DL : 0
B+ tree - algo c++ implemenation
Date
: 2025-12-21
Size
: 1kb
User
:
rakib13
«
1
2
3
4
5
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.