Add public headers
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]>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* 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 */
|
||||
Reference in New Issue
Block a user