FD.io VPP  v20.01-48-g3e0dafb74
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 111 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 51 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 67 of file unix-misc.c.

+ Here is the caller graph for this function:

◆ os_exit()

void os_exit ( int  code)

Definition at line 182 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 226 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 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 174 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 191 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 134 of file unix-misc.c.

+ Here is the caller graph for this function: