登录
首页 » Linux编程 » 管道通信

管道通信

于 2022-12-15 发布 文件大小:984.87 kB
0 162
下载积分: 2 下载次数: 1

代码说明:

int main(int argc, char **argv){ int pipefds[2],pipefds2[2]; pid_t pid; int i,j; char buffer[255]; if(pipe(pipefds) < 0)  //第一个管道 { printf("error "); } pid=fork(); if(pid

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • IAP 在线升级代码
    IAP ARM7 在应用升级代码,我已应用到项目中去,效果不错,发出来供大家参考。IAP 在应用编程对产品的已维升级软件提供了一个很好的方式,希望能帮助到大家。
    2022-06-14 02:17:16下载
    积分:1
  • linux通过实现mplayer播放音乐
    mplayer自带gui功能,需要移植X11库,但是通过mplayer的slave模式,通过管道来操作可以轻松实现音乐播放器。
    2022-01-26 08:30:57下载
    积分:1
  • AODV 路由
    这个程序包含 AODV 路由表和节点的详细信息。TCL 意味着工具命令语言这将会对网络仿真软件工程。
    2022-03-11 03:08:12下载
    积分:1
  • batman alghoritm
    用于在ns2环境中模拟的计算机无线自组织网络的蝙蝠侠算法;
    2023-03-10 20:50:03下载
    积分:1
  • SOCKET文件传输
    socket网络编程,适合初学者使用,采用TCP实现文件传输。有详细的注释,清晰易懂,非常适用于初学者,欢迎大家下载                                                                                                                       
    2023-04-16 21:45:02下载
    积分:1
  • Android 的数独游戏
    你是已经知道的术语"数独"是一种 puzzel 游戏,应运行上只有 android 平台......:)
    2022-01-23 11:05:50下载
    积分:1
  • Linux下的聊天室
    应用背景 This is the server and client code in C for a simple chat program for multiple client communication. This repository contains code for a very simple chat program implemented on the linux system, using base system libraries and the C programming language. The program consists of two major components, the first being the server program and the second is the Client program. 关键技术 The server program maintains a list of clients and also a queue of client messages. It uses semaphores to make sure synchronisation errors do not occur. The server program accepts one optional input argument – listen_port_number. If this argument is missed, the server will use the default port number 3500 (defined in the provided header file chat_server.h). Once it starts, it runs forever. To ter
    2023-07-14 01:50:03下载
    积分:1
  • word2vec C版本
    资源描述word2vec 源码,需在linux环境下使用,可参考http://blog.csdn.net/zhoubl668/article/details/24314769
    2022-02-06 13:06:49下载
    积分:1
  • linux红黑树源码
    LINUX内核中红黑树的源码,由C语言实现,代码量不大,有英文介绍,由于本人也未彻底研究,因此也不太清楚如何实现,希望对大家有帮助  请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2023-07-14 08:50:02下载
    积分:1
  • QT模拟360软件源码
    这是本人在ubuntu下用QTcreator编写的模拟360软件的项目。仅仅是模拟其界面,没有完成其实际的杀毒功能。。只是界面间的连接转化,。把源码送给大家,以更好的学习QT编程,QT是一个很好的东西。呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵呵
    2022-06-28 18:51:11下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载