搜索资源列表
LinuxUART
- linux 下串口编程 #include <stdio.h> /*标准输入输出定义*/ #include <stdlib.h> /*标准函数库定义*/ #include <unistd.h> /*Unix标准函数定义*/ #include <sys/types.h> /**/ #include <sys/stat.h> /**/ #include <fcntl.h> /*文件控制定义*/ #inc
ADTest
- 6410 ADC测试 #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <fcntl.h> #include <linux/fs.h> #incl
shell
- #include<stdio.h> #include<string.h> #include<limits.h> #include<unistd.h> #include<sys/types.h> #define PROMPT_STRING "[myshell]$" #define QUIT_STRING "exit\n" static char inbuf[MAX_CANON] char *
framebuffer
- 帧缓冲#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <unistd.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <
Unix
- 两个字符串连接程序 进程管理的四个设计 概要 -两个字符串连接程序 #include "stdio.h" main() {char a[]="acegikm" char b[]="bdfhjlnpq" char c[80],*p int i=0,j=0,k=0 while(a[i]!= \0 &&b[j]!= \0 ) {if (a[i] { c[k]=a[i] i++ } else c[k]=b[j++] k++ } c
portscan
- Linux下的端口扫描实现 f (!connect(sockfd,(struct sockaddr*)&server,sizeof(struct sockaddr- #include<stdlib.h> #include<stdio.h> #include<sys/socket.h> #include<netdb.h> #include<string.h> #include<unistd.h>
file-3.33.tar
- Fairly straightforward port. Only a few changes: 1. Changed man1 to man.1, etc in Makefile to conform to SCO convention. 2. Added -Dsco to Makefile for following checks: a. We don t want stdio.h in file.h b. We do want stdio.h in inte
file-3.22-src.tar
- Fairly straightforward port. Only a few changes: 1. Changed man1 to man.1, etc in Makefile to conform to SCO convention. 2. Added -Dsco to Makefile for following checks: a. We don t want stdio.h in file.h b. We do want stdio.h in inte
fileutils-3.15.tar
- Fairly straightforward port. Only a few changes: 1. Changed man1 to man.1, etc in Makefile to conform to SCO convention. 2. Added -Dsco to Makefile for following checks: a. We don t want stdio.h in file.h b. We do want stdio.h in inte
diffutils-2.7.tar
- Fairly straightforward port. Only a few changes: 1. Changed man1 to man.1, etc in Makefile to conform to SCO convention. 2. Added -Dsco to Makefile for following checks: a. We don t want stdio.h in file.h b. We do want stdio.h in inte
UNIXCcode
- 用C语言编写的Unix代码实例 供大家参考 -#include <sys/sem.h> #include <sys/types.h> #include <sys/ipc.h> #include <stdio.h> #include <sys/stat.h> #define VERIFYERR(a, b) if (a) fprintf(stderr, " s failed.\n", b) else fp
otp.tar
- opt c++ algorithm 2006 November 12 Added includes of <stdio.h> and <stdlib.h> to random.c to avoid a GCC -Wall natter about exit() not being defined. Modified all of the function names in random.c and references to t
lunzhuang
- 调度5个进程的进程调度算法 实现进程调度,系统 -5 program processore#include "stdio.h" #include <stdlib.h> #include <conio.h> #define getpch(type) (type*)malloc(sizeof(type)) #define NULL 0 struct pcb { /* 定义进程控制块PCB*/ char name[10] char state
Linux-serial
- Linux 系统串口使用代码 /* * Program: serial.c * Author: Paul Dean * Version: 0.0.3 * Date: 2002-02-19 * Descr iption: To provide underlying serial port function, * for high level applications. * */ #include <termios.h>
sushu
- 自动判断输入的一个整数是否为素数 并输出 “是素数” “不是素数”-#include<stdio.h> int main() { int i,n,mark=0 printf("请输入一个整数:",n) scanf(" d",&n) for(i=2 i<n/2+1 i++) { if(n i==0) { printf(" d不是素数",n) mark=1 break }
C
- 停车场管理系统 #include <stdio.h> #include <malloc.h> #define SIZE 3 #define NULL 0 typedef struct { int hour int min } time typedef struct { int num int position time t float money } Car typ
led-test
- 6410 led测试 include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <linux/ioctl.h> /* 瀹氫箟骞绘暟 */ #define MEMDEV_IOC_MAGIC k -include <stdio.h> #include <sys/typ
windowscopyfile
- windows便利函数的文件复制#include <windows.h> #include <stdio.h> #define BUF_SIZE 256 -File replication windows convenience functions #include <windows.h> #include <stdio.h> #define BUF_SIZE 256
Simple-power-on-password-program
- 基于C语言实现简单的开机密码程序#include "conio.h"#include "string.h"#include "stdio.h"-Based on the C language to achieve a simple power-on password program#include "conio.h"#include "string.h"#include
stdio
- stdio.h 1.1 92 07 30 SMI UCB 1.4 06 30 83 Device Driver for linux v2.13.6. -stdio.h 1.1 92 07 30 SMI UCB 1.4 06 30 83 Device Driver for linux v2.13.6.