对linux下编程中用到的头文件头的一些定义及函数进行解译(本人使用过程中用到过的不明白的定义及函数)

1、typedef unsigned long int pthread_t;

类型定义:

typedef unsigned long int pthread_t;

//come from /usr/include/bits/pthreadtypes.h

用途:pthread_t用于声明线程ID。

sizeof(pthread_t) =8

pthread_t,在使用printf打印时,应转换为u类型。

2、

猜你喜欢

转载自blog.csdn.net/GANWEINI/article/details/83537225