Location:
Search - linux fcntl
Search list
Description: linux 下串口编程
#include <stdio.h> /*标准输入输出定义*/
#include <stdlib.h> /*标准函数库定义*/
#include <unistd.h> /*Unix标准函数定义*/
#include <sys/types.h> /**/
#include <sys/stat.h> /**/
#include <fcntl.h> /*文件控制定义*/
#include <termios.h> /*PPSIX终端控制定义*/
#include <errno.h> /*错误号定义*/
/***@brief 设置串口通信速率
*@param fd 类型 int 打开串口的文件句柄
*@param speed 类型 int 串口速度
*@return void*/
Platform: |
Size: 5289 |
Author: Edward |
Hits:
Description: linux 下串口编程
#include <stdio.h> /*标准输入输出定义*/
#include <stdlib.h> /*标准函数库定义*/
#include <unistd.h> /*Unix标准函数定义*/
#include <sys/types.h> /**/
#include <sys/stat.h> /**/
#include <fcntl.h> /*文件控制定义*/
#include <termios.h> /*PPSIX终端控制定义*/
#include <errno.h> /*错误号定义*/
/***@brief 设置串口通信速率
*@param fd 类型 int 打开串口的文件句柄
*@param speed 类型 int 串口速度
*@return void*/
-linux serial port programming under# include
Platform: |
Size: 5120 |
Author: Edward |
Hits:
Description: 帧缓冲#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 <asm/page.h>
#include <linux/fb.h>
#define TRUE 1
#define FALSE 2
//a framebuffer device structure
typedef struct fbdev{
int fb
unsigned long fb_mem_offset
unsigned long fb_mem
struct fb_fix_screeninfo fb_fix -Frame buffer# 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 <asm/page.h># include <linux/fb.h># define TRUE 1# define FALSE 2// a framebuffer device structure typedef struct fbdev (int fb unsigned long fb_mem_offset unsigned long fb_mem struct fb_fix_screeninfo fb_fix
Platform: |
Size: 1024 |
Author: hjintian |
Hits:
Description: linux环境下使用FCNTL的聊天室的实现-linux environment FCNTL implementation of the chat room
Platform: |
Size: 3072 |
Author: dlykj |
Hits:
Description: linux的socket的非阻塞函数fcntl的用法-linux non-blocking function of the socket of the use of fcntl
Platform: |
Size: 13312 |
Author: wuhuailin |
Hits:
Description: Linux网络编程I/O多路复用的解决方案:非阻塞方式
fcntl函数实现
fcntl.c-Linux Network Programming I/O multiplexing solution: non-blocking fcntl function the way fcntl.c
Platform: |
Size: 1024 |
Author: s |
Hits:
Description: linux下使用fcntl函数实现进程互斥 新建文件a 运行./p9.3 a & . /p9.3 a &-linux fcntl
Platform: |
Size: 1024 |
Author: 贼船长 |
Hits:
Description: Linux 系统串口使用代码
/*
* Program: serial.c
* Author: Paul Dean
* Version: 0.0.3
* Date: 2002-02-19
* Description: To provide underlying serial port function,
* for high level applications.
*
*/
#include <termios.h> /* tcgetattr, tcsetattr */
#include <stdio.h> /* perror, printf, puts, fprintf, fputs */
#include <unistd.h> /* read, write, close */
#include <fcntl.h> /* open */
#include <sys/signal.h>
#include <sys/types.h>
#include <string.h> /* bzero, memcpy */
#include <limits.h> /* CHAR_MAX */
#include "vardef.h" /* INT32, INT16, INT8, UINT32, UINT16, UINT8 */
#include "serial.h"-This directory contains the version 0.0.4 release of the Serial Debugger (SDB).
The SDB is free software. If you think it is useful in your applications or solutions, you are admitted to use this source code with the declaration of Copyright to the original author, now Ding Baohua.
Install procedure is referred to INSTALL file.
Platform: |
Size: 8192 |
Author: zhangxiaojun |
Hits:
Description: Linux-ping源代码,e "stdlib.h"
#include "string.h"
#include "stdio.h"-e "stdlib.h"
#include "string.h"
#include "stdio.h"
#include "fcntl.h"
#include "errno.h"
#include "signal.h"
#include "sys/types.h"
#include "sys/socket.h"
#include "sys/time.h"
#include "netinet/in.h"
#include "arpa/inet.h"
Platform: |
Size: 2048 |
Author: wxk1383 |
Hits:
Description: 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>
#include <errno.h>
#include <string.h>
#include <qlineedit.h>
#include <qmessagebox.h>
-6410 test
#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>
#include <errno.h>
#include <string.h>
#include <qlineedit.h>
#include <qmessagebox.h>
Platform: |
Size: 64512 |
Author: xiankongyijue |
Hits:
Description: 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/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <linux/ioctl.h>
/* 瀹氫箟骞绘暟*/
#define MEMDEV_IOC_MAGIC k
Platform: |
Size: 3072 |
Author: xiankongyijue |
Hits:
Description: linux 下的一个测试程序,很好用的,不错,不错-a test program under linux, well used, good, good
Platform: |
Size: 1024 |
Author: liyu |
Hits:
Description: linux下的仓库物联网系统 linux下的仓库物联网系统 linux下的仓库物联网系统 -#include<stdio.h>
#include<sys/types.h>
#include<sys/ipc.h>
#include<sys/msg.h>
#include<stdlib.h>
#include<unistd.h>
#include<string.h>
#include<pthread.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include<stdio.h>
#include<stdlib.h>
#include<sys/types.h>
#include<unistd.h>
#include<sys/ipc.h>
#include<sys/shm.h>
#include<signal.h>
#include<inttypes.h>
#include<sys/sem.h>
Platform: |
Size: 4096 |
Author: sunguangjiang |
Hits:
Description: Linux下网络编程、Socket使用、TCP Server、Client、ntp、fcntl范例程序-Linux Network Programming, Socket use, TCP Server, Client, ntp, fcntl sample program
Platform: |
Size: 40960 |
Author: sky |
Hits:
Description: flock64 portable Source Code for Embedded Linux.
Platform: |
Size: 1024 |
Author: paokinxan |
Hits:
Description: This file is for SUN CC only. Please remove it if it causes any harm for other compilers Source Code for Linux v2.13.6.
Platform: |
Size: 2048 |
Author: rhtuko |
Hits:
Description: Linux Device Driver: Frame buffer driver utilities.
Platform: |
Size: 4096 |
Author: fawenhm |
Hits:
Description: de <sys fcntl.h> include startup.h include <ctype.h> include <sys typ Device Driver for linux.
-de <sys fcntl.h> include startup.h include <ctype.h> include <sys typ Device Driver for linux.
Platform: |
Size: 9216 |
Author: yxfudao |
Hits:
Description: define MAX EXTRA SECTIONS2 FILE temp file[MAX EXTRA SECTIONS] = { NULL, NULL char temp file name[MAX EXTRA SECTIONS] = { NULL, NULL Device Driver for linux.
-define MAX EXTRA SECTIONS2 FILE temp file[MAX EXTRA SECTIONS] = { NULL, NULL char temp file name[MAX EXTRA SECTIONS] = { NULL, NULL Device Driver for linux.
Platform: |
Size: 6144 |
Author: fantxkj |
Hits: