Home
last modified time | relevance | path

Searched refs:c_char (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/libs/
Dprintk.rs6 use ::core::ffi::c_char;
119 printk_color(WHITE, BLACK, str_to_print.as_ptr() as *const c_char); in __write_string() constant
131 printk_color(fr_color, bk_color, str_to_print.as_ptr() as *const c_char); in __write_string_color() constant
187 printk_color(WHITE, BLACK, str_to_print.as_ptr() as *const c_char); in __write_string_on_stack() constant
207 printk_color(fr_color, bk_color, str_to_print.as_ptr() as *const c_char); in __write_string_color_on_stack() constant
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs2 ffi::{c_char, c_int, c_void, CStr},
414 let path: &CStr = unsafe { CStr::from_ptr(args[0] as *const c_char) }; in handle() constant
515 let path_ptr = arg0 as *const c_char; in handle() constant
609 let path_ptr = args[0] as *const c_char; in handle() constant
670 let pathname = args[1] as *const c_char; in handle() constant