Interface ssize_t

Type

#include <SYS/TYPES.H>

ssize_t variable;

Description

This type has the same size as size_t but it is signed. It is used as a return value from functions read or write, so that they can return negative value (-1) in case of error.

Note that array larger than maximum value of ssize_t can be actually created.

See also

size_t