posix::string::strndup [-] [+] [src]

pub unsafe fn strndup(string: *const char_t, n: size_t) -> *mut char_t