+ -
当前位置:首页 → 问答吧 → ssize_t是什么类型阿?

ssize_t是什么类型阿?

时间:2004-06-09

来源:互联网

我找了半天,只找到了typedef __ssize_t ssize_t
可是这到底是什么样的结构体阿?
在哪个文件中定义的?

作者: t土疙瘩   发布时间: 2004-06-09

grep ssize_t *

作者: Jackosn.K   发布时间: 2004-06-11

应该是一个无符号整型!

作者: peterwlp   发布时间: 2004-07-23

http://www.delorie.com/gnu/docs/glibc/libc_239.html
Data Type: ssize_t
This data type is used to represent the sizes of blocks that can be read or written in a single operation. It is similar to size_t, but must be a signed type.

http://www.gnu.org/software/libc/man...ata-Types.html
— Data Type: size_t
This is an unsigned integer type used to represent the sizes of objects. The result of the sizeof operator is of this type, and functions such as malloc (see Unconstrained Allocation) and memcpy (see Copying and Concatenation) accept arguments of this type to specify object sizes.

作者: njkzkj   发布时间: 2007-03-20

引用:
作者: njkzkj
http://www.delorie.com/gnu/docs/glibc/libc_239.html
Data Type: ssize_t
This data type is used to represent the sizes of blocks that can be read or written in a single operation. It is similar to size_t, but must be a signed type.

http://www.gnu.org/software/libc/man...ata-Types.html
— Data Type: size_t
This is an unsigned integer type used to represent the sizes of objects. The result of the sizeof operator is of this type, and functions such as malloc (see Unconstrained Allocation) and memcpy (see Copying and Concatenation) accept arguments of this type to specify object sizes.
thanks,it's a good message

作者: dragon99   发布时间: 2009-11-13

typedef int __kernel_ssize_t;
typedef __kernel_ssize_t ssize_t;

作者: xlongfeng   发布时间: 2010-01-15

偷偷的说。。。我怎么觉得是unsigned long

作者: mikeandmore   发布时间: 2010-01-16

热门下载

更多