[−][src]Function capctl::prctl::set_name
pub fn set_name<N: AsRef<OsStr>>(name: N) -> Result<()>
Set the name of the current thread.
If the given name is longer than 15 bytes, it will be truncated to the first 15 bytes.
(Note: Other documentation regarding Linux capabilities says that the maximum length is 16 bytes; that value includes the terminating NUL byte at the end of C strings.)