- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 读写linux设备文件
#include #include #include #include #define DIR "/dev/firstdriver"int main(void){int fd;char arr[1000];char *str="hello china";fd = open(DIR, O_RDWR|O_NONBLOCK);if(-1!=fd){printf("The writen string is
2015-09-02 11:18:21
495
转载 LPSTR
LPSTR:一个32位指向字符串的指针,相当于char *; LPCSTR:一个32位指向字符串常量的指针,相当于const char *; LPWSTR:一个32位指向Unicode字符串指针,相当于wchar_t *; LPCWSTR:一个32位指向Unicode字符串常量指针,相当于const wchar_t *;
2015-01-14 20:06:41
948
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人