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

Source reference: LIB/STRING.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/STRING.H
Lines 24
Bytes 659
SHA-256 2230b986c69e8ce4062370c65a9fd68bf92390a7b142ee30783b664eea4016a1
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 STRING_H
#define STRING_H
#include "STDDEF.H"

int strlen(char *s);
int strcmp(char *a, char *b);
char *strcpy(char *d, char *s);
void memcpy(char *d, char *s, int n);
void memmove(char *d, char *s, int n);
int strncmp(char *a, char *b, int n);
void memset(char *d, int c, int n);
int strcasecmp(char *a, char *b);
int strncasecmp(char *a, char *b, int n);
char *strdup(char *s);
char *strstr(char *h, char *n);
char *strncpy(char *d, char *s, int n);
char *strerror(int err);
char *strchr(char *s, int c);
char *strrchr(char *s, int c);
int memcmp(char *a, char *b, int n);
char *memchr(char *s, int c, int n);
char *strcat(char *d, char *s);
#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-2230b986c69e8ce4 Reviewed source: da3df29cb397 Class: generated-source-reference