FD.io VPP  v21.01.1
Vector Packet Processing
unix-misc.c File Reference
+ Include dependency graph for unix-misc.c:

Go to the source code of this file.

Functions

clib_error_tclib_file_n_bytes (char *file, uword *result)
 
clib_error_tclib_file_read_contents (char *file, u8 *result, uword n_bytes)
 
__clib_export clib_error_tclib_file_contents (char *file, u8 **result)
 
clib_error_tunix_proc_file_contents (char *file, u8 **result)
 
void os_panic (void)
 
void os_exit (int)
 
void os_puts (u8 *string, uword string_length, uword is_error)
 
__clib_export __clib_weak void os_out_of_memory (void)
 
__clib_export __clib_weak uword os_get_nthreads (void)
 

Function Documentation

◆ clib_file_contents()

__clib_export clib_error_t* clib_file_contents ( char *  file,
u8 **  result 
)

Definition at line 112 of file unix-misc.c.

+ Here is the call graph for this function:

◆ clib_file_n_bytes()

clib_error_t* clib_file_n_bytes ( char *  file,
uword result 
)

Definition at line 52 of file unix-misc.c.

+ Here is the caller graph for this function:

◆ clib_file_read_contents()

clib_error_t* clib_file_read_contents ( char *  file,
u8 result,
uword  n_bytes 
)

Definition at line 68 of file unix-misc.c.

+ Here is the caller graph for this function:

◆ os_exit()

void os_exit ( int  code)

Definition at line 183 of file unix-misc.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ os_get_nthreads()

__clib_export __clib_weak uword os_get_nthreads ( void  )

Definition at line 225 of file unix-misc.c.

+ Here is the caller graph for this function:

◆ os_out_of_memory()

__clib_export __clib_weak void os_out_of_memory ( void  )

Definition at line 219 of file unix-misc.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ os_panic()

void os_panic ( void  )

Definition at line 175 of file unix-misc.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ os_puts()

void os_puts ( u8 string,
uword  string_length,
uword  is_error 
)

Definition at line 192 of file unix-misc.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unix_proc_file_contents()

clib_error_t* unix_proc_file_contents ( char *  file,
u8 **  result 
)

Definition at line 135 of file unix-misc.c.

+ Here is the caller graph for this function: