在好例子网,分享、交流、成长!
您当前所在位置:首页C/C++ 开发实例Linux内核编程 → Unix系统编程学习实例源码

Unix系统编程学习实例源码

Linux内核编程

下载此实例
  • 开发语言:C/C++
  • 实例大小:0.24M
  • 下载次数:9
  • 浏览次数:78
  • 发布时间:2021-02-08
  • 实例类别:Linux内核编程
  • 发 布 人:ldfromjs
  • 文件格式:.rar
  • 所需积分:2
 相关标签: UNIX 编程 系统 学习 实例

实例介绍

【实例简介】

【实例截图】

from clipboard

【核心代码】

usp_all

├── appendixB
│   ├── README
│   ├── restart.c
│   └── restart.h
├── appendixC
│   ├── README
│   ├── client.c
│   ├── client_udp.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── makefile
│   ├── restart.c
│   ├── restart.h
│   ├── server.c
│   ├── server_udp.c
│   ├── uici.c
│   ├── uici.h
│   ├── uici1.c
│   ├── uiciname.c
│   ├── uiciname.h
│   ├── uiciudp.c
│   └── uiciudp.h
├── appendixD
│   ├── README
│   ├── atomic_logger.c
│   ├── atomic_logger.h
│   ├── rlogging.c
│   └── rlogging.h
├── chapter01
│   ├── README
│   ├── checkpass.c
│   ├── checkpasstest.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   └── makefile
├── chapter02
│   ├── README
│   ├── argtest.c
│   ├── argtestfree.c
│   ├── bubblesort.c
│   ├── bubblesorttest.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── environ.c
│   ├── freemakeargv.c
│   ├── getpaths.c
│   ├── getpathstest.c
│   ├── keeplog.c
│   ├── keeploglib.c
│   ├── largearray.c
│   ├── largearrayinit.c
│   ├── listlib.c
│   ├── listlib.h
│   ├── log.h
│   ├── loglib.c
│   ├── makeargv.c
│   ├── makefile
│   ├── showtimes.c
│   ├── showtimestest.c
│   ├── wastetime.c
│   ├── wordaverage.c
│   ├── wordaveragebad.c
│   └── wordaveragetest.c
├── chapter03
│   ├── README
│   ├── badprocessID.c
│   ├── chainwaitmsg.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── execcmd.c
│   ├── execcmdargv.c
│   ├── execls.c
│   ├── fanwait.c
│   ├── fanwaitmsg.c
│   ├── makeargv.c
│   ├── makefile
│   ├── outputIDs.c
│   ├── outputPID.c
│   ├── parentwaitpid.c
│   ├── r_wait.c
│   ├── restart.c
│   ├── restart.h
│   ├── runback.c
│   ├── showreturnstatus.c
│   ├── showreturnstatustest.c
│   ├── simplechain.c
│   ├── simplefan.c
│   ├── simplefork.c
│   └── twoprocs.c
├── chapter04
│   ├── README
│   ├── atomic_logger.c
│   ├── atomic_logger.h
│   ├── bufferinout.c
│   ├── bufferout.c
│   ├── chainforkopen.c
│   ├── chainforkopenlog.c
│   ├── chainforkopenseek.c
│   ├── chainopenfork.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── copy2files.c
│   ├── copy2filestest.c
│   ├── copyfile.c
│   ├── copyfile1.c
│   ├── copyfilemain.c
│   ├── fileiofork.c
│   ├── fileioforkline.c
│   ├── forkopen.c
│   ├── makefile
│   ├── monitorfork.c
│   ├── monitorpoll.c
│   ├── monitorpolltest.c
│   ├── monitorselect.c
│   ├── monitorselecttest.c
│   ├── openfork.c
│   ├── process_or_do_work.c
│   ├── process_or_do_work_test.c
│   ├── r_close.c
│   ├── r_read.c
│   ├── r_write.c
│   ├── readblock.c
│   ├── readline.c
│   ├── readlinetest.c
│   ├── readtimed.c
│   ├── readtimed1.c
│   ├── readtimedtest.c
│   ├── readwrite.c
│   ├── readwriteblock.c
│   ├── redirect.c
│   ├── restart.c
│   ├── restart.h
│   ├── setblock.c
│   ├── setblocktest.c
│   ├── setnonblock.c
│   ├── simplechainforkopenatomic1.c
│   ├── simplecopy.c
│   ├── waitfdtimed.c
│   ├── whichisready.c
│   └── whichisreadytest.c
├── chapter05
│   ├── README
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── getcwdpathconf.c
│   ├── getcwdpathmax.c
│   ├── isdirectory.c
│   ├── isdirectorytest.c
│   ├── makefile
│   ├── printaccess.c
│   ├── printaccessmod.c
│   ├── printaccessmodbad.c
│   ├── printaccessmodbadtest.c
│   ├── printaccessmodtest.c
│   ├── printaccesstest.c
│   ├── shownames.c
│   └── simplebiff.c
├── chapter06
│   ├── README
│   ├── audiocopy.c
│   ├── audiolib.c
│   ├── audiolib.h
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── dififochild.c
│   ├── dofifochild.c
│   ├── dofifoparent.c
│   ├── makefile
│   ├── nonblockingaudio.c
│   ├── parentchildfifo.c
│   ├── parentwritepipe.c
│   ├── parentwritepipe1.c
│   ├── parentwritepipe2.c
│   ├── passwordnosigs.c
│   ├── passwordnosigstest.c
│   ├── pipeclient.c
│   ├── pipeserver.c
│   ├── restart.c
│   ├── restart.h
│   ├── savetermios.c
│   ├── seqclientbad.c
│   ├── seqserverbad.c
│   ├── setecho.c
│   ├── setnoncanonical.c
│   ├── setnoncanonicaltest.c
│   ├── simpleredirect.c
│   ├── synchronizefan.c
│   └── ttysetchar.c
├── chapter07
│   ├── README
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── example0701.c
│   ├── example0705.c
│   ├── example0705test.c
│   ├── exercise0702.c
│   ├── exercise0702test.c
│   ├── exercise0703.c
│   ├── exercise0703test.c
│   ├── exercise0704.c
│   ├── exercise0704test.c
│   ├── makefile
│   └── ring.c
├── chapter08
│   ├── README
│   ├── asynccopysignal.c
│   ├── asyncmonitorpoll.c
│   ├── asyncmonitorpoll.h
│   ├── asyncmonitorpollstuff.c
│   ├── asyncmonitorsignal.c
│   ├── asyncmonitorsignal.h
│   ├── asyncmonitorsuspend.c
│   ├── asyncpollmain.c
│   ├── asyncsignalmain.c
│   ├── asyncsignalmainsuspend.c
│   ├── averagesin.c
│   ├── biff.c
│   ├── blockchild.c
│   ├── blocktest.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── countsignals.c
│   ├── dontblockchild.c
│   ├── makefile
│   ├── makepair.c
│   ├── makepairtest.c
│   ├── notifyonoff.c
│   ├── notifyonoff.h
│   ├── password.c
│   ├── passwordtest.c
│   ├── restart.c
│   ├── restart.h
│   ├── setecho.c
│   ├── sigjmp.c
│   ├── signalterminate.c
│   ├── sigsuspendtest1.c
│   ├── sigsuspendtest2.c
│   ├── sigsuspendtest3.c
│   ├── simplealarm.c
│   ├── simplesuspend.c
│   ├── simplesuspendtest.c
│   └── testignored.c
├── chapter09
│   ├── README
│   ├── abstime.c
│   ├── abstime.h
│   ├── abstimelib.c
│   ├── badtiming.c
│   ├── beeper.c
│   ├── clockrealtimetest.c
│   ├── clockrealtimetiming.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── cpufraction.c
│   ├── functiontotime.c
│   ├── gettimeofdaytest.c
│   ├── gettimeofdaytiming.c
│   ├── load_cpu.c
│   ├── makefile
│   ├── microsleeper.c
│   ├── multikill.c
│   ├── nanosleeper.c
│   ├── nanotest.c
│   ├── periodicasterisk.c
│   ├── periodicmessage.c
│   ├── restart.c
│   ├── restart.h
│   ├── sendsigqueue.c
│   ├── sigqueuehandler.c
│   ├── simpletiming.c
│   ├── timechild.c
│   ├── timeprint.c
│   ├── timesignals.c
│   ├── tmrtimer.c
│   └── xsitimer.c
├── chapter10
│   ├── README
│   ├── makefile
│   ├── show.c
│   ├── showremote.c
│   ├── testtime.c
│   └── wastetime.c
├── chapter11
│   ├── README
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── executecmdpipe.c
│   ├── executecmdredirect.c
│   ├── executecmdsimple.c
│   ├── executeredirect.c
│   ├── makeargv.c
│   ├── makefile
│   ├── myread.c
│   ├── parseandredirect.c
│   ├── showid.c
│   ├── showidsleep.c
│   ├── showidsleepignore.c
│   ├── signalsetup.c
│   ├── ush1.c
│   ├── ush2.c
│   ├── ush3.c
│   ├── ush4.c
│   ├── ush5.c
│   ├── ush6.c
│   └── ush7.c
├── chapter12
│   ├── README
│   ├── badparameters.c
│   ├── callcopymalloc.c
│   ├── callcopypass.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── copyfilemalloc.c
│   ├── copyfilepass.c
│   ├── copymultiple.c
│   ├── detachfun.c
│   ├── detachfuntest.c
│   ├── makefile
│   ├── makepriority.c
│   ├── makeprioritytest.c
│   ├── monitorfd.c
│   ├── monitorfdcancel.c
│   ├── monitorfdcanceltest.c
│   ├── monitorfdtest.c
│   ├── processfd.c
│   ├── processfdcancel.c
│   ├── restart.c
│   ├── restart.h
│   └── whichexit.c
├── chapter13
│   ├── README
│   ├── computethread.c
│   ├── computethread.h
│   ├── computethreadmain.c
│   ├── computethreadsig.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── counter.c
│   ├── countertest.c
│   ├── doneflag.c
│   ├── doneflag.h
│   ├── globalerror.c
│   ├── globalerror.h
│   ├── listlib.c
│   ├── listlib.h
│   ├── listlib_r.c
│   ├── listlibn.c
│   ├── listlibrw.c
│   ├── listlibrw_r.c
│   ├── makefile
│   ├── printinitmutex.c
│   ├── printinitmutextest.c
│   ├── printinitonce.c
│   ├── printinitoncetest.c
│   ├── randsafe.c
│   ├── randsafe.h
│   ├── sharedsum.c
│   ├── sharedsum.h
│   ├── showresults.c
│   ├── signalthread.c
│   ├── signalthread.h
│   ├── strerror_r.c
│   ├── strerrortest.c
│   ├── tbarrier.c
│   ├── tbarriertest.c
│   ├── testandsetonce.c
│   ├── testandsetoncetest.c
│   └── wastetime.c
├── chapter14
│   ├── README
│   ├── chaincritical.c
│   ├── chainnamed.c
│   ├── chainsemaphoret.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── destroynamed.c
│   ├── destroynamedtest.c
│   ├── getnamed.c
│   ├── maincritical.c
│   ├── maincriticalsem.c
│   ├── makefile
│   ├── restart.c
│   ├── restart.h
│   ├── sbarrierold.c
│   ├── sbarriertest.c
│   ├── semshared.c
│   ├── semsharedtest.c
│   ├── threadcritical.c
│   └── threadcriticalsem.c
├── chapter15
│   ├── README
│   ├── chainsemset.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── detachandremove.c
│   ├── initelement.c
│   ├── initsemset.c
│   ├── makefile
│   ├── monitoroneshared.c
│   ├── monitorshared.c
│   ├── msgqueuein.c
│   ├── msgqueuelog.c
│   ├── msgqueuelog.h
│   ├── msgqueuesave.c
│   ├── r_semop.c
│   ├── removesem.c
│   ├── restart.c
│   ├── restart.h
│   ├── semfrompath.c
│   ├── setsembuf.c
│   ├── sharedmemsum.c
│   └── showshared.c
├── chapter16
│   ├── README
│   ├── buffer.c
│   ├── buffer.h
│   ├── bufferbad.c
│   ├── buffercond.c
│   ├── bufferconddone.c
│   ├── bufferinitmutex.c
│   ├── bufferinitonce.c
│   ├── buffersem.c
│   ├── bufferseminit.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── doneflag.h
│   ├── globalerror.c
│   ├── globalerror.h
│   ├── isregular.c
│   ├── isregulartest.c
│   ├── makefile
│   ├── randconsumer.c
│   ├── randconsumerdone.c
│   ├── randpcdone.c
│   ├── randpcforever.c
│   ├── randpcsig.c
│   ├── randproducer.c
│   ├── randproducerdone.c
│   ├── randsafe.c
│   ├── randsafe.h
│   ├── sharedsum.c
│   ├── sharedsum.h
│   ├── showresults.c
│   ├── signalthread.c
│   └── signalthread.h
├── chapter17
│   ├── README
│   ├── a2ts.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── getpacket.c
│   ├── makefile
│   ├── ntpvm.h
│   ├── putpacket.c
│   ├── restart.c
│   ├── restart.h
│   ├── rlogging.c
│   ├── rlogging.h
│   ├── testpacket.c
│   ├── ts2a.c
│   ├── ts2log.c
│   ├── uici.c
│   ├── uici.h
│   ├── uiciname.c
│   └── uiciname.h
├── chapter18
│   ├── README
│   ├── client.c
│   ├── client2.c
│   ├── client_audio.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── copy2files.c
│   ├── copyfile.c
│   ├── hasvoice.c
│   ├── makefile
│   ├── reflectclient.c
│   ├── reflectserver.c
│   ├── restart.c
│   ├── restart.h
│   ├── server.c
│   ├── server2.c
│   ├── serverp.c
│   ├── serverp2.c
│   ├── u_accept.c
│   ├── u_accept_r1.c
│   ├── u_accept_r2.c
│   ├── u_connect.c
│   ├── u_open.c
│   ├── uici.c
│   ├── uici.h
│   ├── uiciname.c
│   └── uiciname.h
├── chapter20
│   ├── README
│   ├── client_udp.c
│   ├── client_udp_request_reply.c
│   ├── client_udp_request_reply_timeout.c
│   ├── client_udp_request_reply_timeout_retry.c
│   ├── convertlinux
│   ├── convertlinux.ed
│   ├── convertmac
│   ├── convertmac.ed
│   ├── makefile
│   ├── multicast_receiver.c
│   ├── multicast_rectest.c
│   ├── putblock.c
│   ├── request_reply.c
│   ├── request_reply_timeout.c
│   ├── request_reply_timeout_retry.c
│   ├── restart.c
│   ├── restart.h
│   ├── sender_udp.c
│   ├── server_udp.c
│   ├── server_udp_request_reply.c
│   ├── u_comparehost.c
│   ├── u_gethostinfo.c
│   ├── u_gethostname.c
│   ├── u_join.c
│   ├── u_leave.c
│   ├── u_openudp.c
│   ├── u_recvfrom.c
│   ├── u_recvfromtimed.c
│   ├── u_sendto.c
│   ├── uiciname.c
│   ├── uiciname.h
│   ├── uiciudp.c
│   └── uiciudp.h
└── chapter22
    ├── README
    ├── convertlinux
    ├── convertlinux.ed
    ├── convertmac
    ├── convertmac.ed
    ├── makefile
    ├── makefileinfo.c
    ├── restart.c
    └── restart.h

23 directories, 537 files


实例下载地址

Unix系统编程学习实例源码

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警