CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - fcntl.h
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - fcntl.h - List
[
Linux-Unix
]
LinuxUART
DL : 0
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*/
Date
: 2008-10-13
Size
: 5.17kb
User
:
Edward
[
Linux-Unix
]
LinuxUART
DL : 0
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
Date
: 2025-12-25
Size
: 5kb
User
:
Edward
[
Linux-Unix
]
framebuffer
DL : 0
帧缓冲#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
Date
: 2025-12-25
Size
: 1kb
User
:
hjintian
[
Linux-Unix
]
Linux-serial
DL : 0
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.
Date
: 2025-12-25
Size
: 8kb
User
:
zhangxiaojun
[
Linux-Unix
]
ADTest
DL : 0
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>
Date
: 2025-12-25
Size
: 63kb
User
:
xiankongyijue
[
Linux-Unix
]
led-test
DL : 0
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
Date
: 2025-12-25
Size
: 3kb
User
:
xiankongyijue
[
Linux-Unix
]
004-define-recursive
DL : 0
Write fcntl.h here, not <fcntl.h>, otherwise OSF 1 5.1 DTK cc eliminates this include because of the preliminary include <fcntl.h> above. -Write fcntl.h here, not <fcntl.h>, otherwise OSF 1 5.1 DTK cc eliminates this include because of the preliminary include <fcntl.h> above.
Date
: 2025-12-25
Size
: 5kb
User
:
nangwuewie
[
Linux-Unix
]
startup
DL : 0
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.
Date
: 2025-12-25
Size
: 9kb
User
:
yxfudao
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.