FD.io VPP  v20.05-21-gb1500e9ff
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_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)
 
void os_out_of_memory (void)
 
uword os_get_nthreads (void)
 

Function Documentation

◆ clib_file_contents()

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()

uword os_get_nthreads ( void  )

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

+ Here is the caller graph for this function:

◆ os_out_of_memory()

void os_out_of_memory ( void  )

Definition at line 220 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: