Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions
OS.h File Reference
#include <SystemKit/Macros.h>
Include dependency graph for OS.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define N_OK   (100)
 The devnet says how you should always use N_HAS_FAILED instead of checking for N_OK directly.
 
#define N_FAILED   (330)
 
#define N_ERROR   (N_FAILED)
 
#define N_HAS_FAILED(X)   ((X) != N_OK)
 
#define _BDLL   _COMMONCORE
 BaseAPI DLL macro.
 
#define _NDLL   _BDLL
 Variant of the BaseAPI DLL macro.
 
#define at_fini   atexit
 

Functions

IMPORT_C SInt32 system (const Char *)
 
IMPORT_C SInt32 execute (const Char *, const SInt32, Char **)
 
IMPORT_C SInt32 shell (const Char *, const SInt32, Char **)
 
IMPORT_C SInt32 atexit (Void(*function)(Void))
 
IMPORT_C UInt32 sleep (UInt32 seconds)
 
IMPORT_C SInt64 start_task_fiber (Void(*function)(),...)
 
IMPORT_C SInt32 end_task_fiber (SInt64)
 
IMPORT_C SInt64 start_exe_host (const Char *, const SInt32, Char **)
 
IMPORT_C SInt32 end_exe_host (const SInt64)
 
IMPORT_C SInt64 run_host_dll (const Char *, const SInt32, Char **)
 
IMPORT_C SInt32 end_host_dll (SInt64)
 

Macro Definition Documentation

◆ _BDLL

#define _BDLL   _COMMONCORE

BaseAPI DLL macro.

Definition at line 31 of file OS.h.

◆ _NDLL

#define _NDLL   _BDLL

Variant of the BaseAPI DLL macro.

Definition at line 36 of file OS.h.

◆ at_fini

#define at_fini   atexit

Definition at line 52 of file OS.h.

◆ N_ERROR

#define N_ERROR   (N_FAILED)

Definition at line 22 of file OS.h.

◆ N_FAILED

#define N_FAILED   (330)

Definition at line 18 of file OS.h.

◆ N_HAS_FAILED

#define N_HAS_FAILED (   X)    ((X) != N_OK)

Definition at line 26 of file OS.h.

◆ N_OK

#define N_OK   (100)

The devnet says how you should always use N_HAS_FAILED instead of checking for N_OK directly.

Definition at line 14 of file OS.h.

Function Documentation

◆ atexit()

IMPORT_C SInt32 atexit ( Void(*)(Void)  function)

◆ end_exe_host()

IMPORT_C SInt32 end_exe_host ( const SInt64  )

◆ end_host_dll()

IMPORT_C SInt32 end_host_dll ( SInt64  )

◆ end_task_fiber()

IMPORT_C SInt32 end_task_fiber ( SInt64  )

◆ execute()

IMPORT_C SInt32 execute ( const Char *  ,
const SInt32  ,
Char **   
)

◆ run_host_dll()

IMPORT_C SInt64 run_host_dll ( const Char *  ,
const SInt32  ,
Char **   
)

◆ shell()

IMPORT_C SInt32 shell ( const Char *  ,
const SInt32  ,
Char **   
)

◆ sleep()

IMPORT_C UInt32 sleep ( UInt32  seconds)

◆ start_exe_host()

IMPORT_C SInt64 start_exe_host ( const Char *  ,
const SInt32  ,
Char **   
)

◆ start_task_fiber()

IMPORT_C SInt64 start_task_fiber ( Void(*)()  function,
  ... 
)

◆ system()

IMPORT_C SInt32 system ( const Char *  )