Declarations for the string core, stdio, stdlib, unistd, errno, sys/types, and the raw syscall interface; the FILE layout stays private in src/internal.h. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <[email protected]>
26 lines
392 B
C
26 lines
392 B
C
/*
|
|
* sys/types.h — primitive system types for nulsl-libc.
|
|
*/
|
|
|
|
#ifndef _NULSL_SYS_TYPES_H
|
|
#define _NULSL_SYS_TYPES_H
|
|
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef long ssize_t;
|
|
typedef long off_t;
|
|
typedef long pid_t;
|
|
typedef unsigned int uid_t;
|
|
typedef unsigned int gid_t;
|
|
typedef unsigned long mode_t;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _NULSL_SYS_TYPES_H */
|