LibPkg
Classes | Namespaces | Functions
os.h File Reference

Go to the source code of this file.

Classes

struct  pkg::os::file_info
 

Namespaces

 pkg
 The namespace used to hold the package management library.
 
 pkg::os
 

Functions

void pkg::os::OS_Byte161 (int address, int *_value)
 Read byte from CMOS RAM. More...
 
void pkg::os::OS_File1 (const char *name, unsigned int loadaddr, unsigned int execaddr, unsigned int attr)
 Write catalogue information. More...
 
void pkg::os::OS_File4 (const char *name, unsigned int attr)
 Write file attributes. More...
 
void pkg::os::OS_File6 (const char *name, unsigned int *_objtype, unsigned int *_loadaddr, unsigned int *_execaddr, unsigned int *_length, unsigned int *_attr)
 Delete object. More...
 
void pkg::os::OS_File8 (const char *name, unsigned int entries)
 Create directory. More...
 
void pkg::os::OS_File17 (const char *name, unsigned int *_objtype, unsigned int *_loadaddr, unsigned int *_execaddr, unsigned int *_length, unsigned int *_attr)
 Read catalogue information. More...
 
void pkg::os::OS_File18 (const char *name, unsigned int filetype)
 Write filetype. More...
 
void pkg::os::OS_Args5 (int handle, bool *_eof)
 Read EOF status. More...
 
void pkg::os::OS_Find (int code, const char *name, const char *path, int *_handle)
 Open file. More...
 
void pkg::os::OS_Find0 (int handle)
 Close file. More...
 
void pkg::os::OS_GBPB2 (int handle, const void *buffer, unsigned int count, unsigned int *_fp)
 Write bytes to file. More...
 
void pkg::os::OS_GBPB4 (int handle, void *buffer, unsigned int count, unsigned int *_excess, unsigned int *_fp)
 Read bytes from file. More...
 
void pkg::os::OS_GBPB12 (const char *name, void *buffer, unsigned int count, int offset, unsigned int length, const char *pattern, unsigned int *_count, int *_offset)
 Read catalogue information from directory. More...
 
void pkg::os::OS_SetVarVal (const char *varname, const char *value, unsigned int length, unsigned int context, unsigned int vartype, unsigned int *_context, unsigned int *_vartype)
 Set system variable. More...
 
void pkg::os::OS_FSControl25 (const char *src_name, const char *dst_name)
 Rename object. More...
 
void pkg::os::OS_FSControl26 (const char *src_name, const char *dst_name, unsigned int mask, unsigned long long start_time, unsigned long long end_time, void *extra_info)
 Copy objects. More...
 
void pkg::os::OS_FSControl37 (const char *name, char *buffer, const char *pathvar, const char *path, unsigned int size, unsigned int *_size)
 Canonicalise pathname. More...
 
void pkg::os::OS_ReadModeVariable (int index, int *_value)
 Read mode variable. More...
 
void pkg::os::OS_ReadMonotonicTime (unsigned int *_time)
 Read monotonic time. More...
 
void pkg::os::OS_CLI (const char *command)
 Execute a command line. More...
 

Reference Manual LibPkg Version 0.9.0 (4 Sep 2020)