ChrisOS Research ProjectOperating systems · language systems · graphics · machine emulation
DOCUMENTATION ARCHIVEMAIN BRANCH
ChrisOS/Source reference: LIB/STDLIB.H

Source reference: LIB/STDLIB.H

Deterministic source record. The complete textual file is reproduced below; this page does not replace architectural interpretation in the authored chapters.

File identity

Field Value
Path LIB/STDLIB.H
Lines 19
Bytes 365
SHA-256 5d2924949b4f2bf8d0c03bf3826847a329b6f5a044c8159852863e2f341c6e02
ChrisOS revision da3df29cb397932c43d32373871fb9380e688ade

Detected syntactic dependencies

Line Include
3 STDDEF.H

Detected symbols

Line Symbol
— No C-like function definition detected by the scanner.

Complete source

The following block is the complete textual file at the recorded revision. No lines are elided, abbreviated or paraphrased.

#ifndef STDLIB_H
#define STDLIB_H
#include "STDDEF.H"

void *malloc(size_t n);
void free(void *p);
void *realloc(void *p, size_t n);
int abs(int x);
int atoi(char *s);
float atof(char *s);
void exit(int c);
void abort();
void *calloc(size_t n, size_t sz);
char *getenv(char *name);
int mkdir(char *path, int mode);
int isatty(int fd);
int system(char *cmd);
#endif

Role of this record

The atlas guarantees file-by-file traceability. Responsibility, invariants, ownership, concurrency, security, performance and subsystem interactions belong in authored chapters and must cite this file when applicable.

Document record ID: source-5d2924949b4f2bf8 Reviewed source: da3df29cb397 Class: generated-source-reference