fiducial-tauri 0.1.0
“Serial transport and device discovery for Fiducial Tauri apps.”
Basename is uppercase README.mdCaret or XOR expression text
SHA-256ece172ad06598fdc17a3020a0528de330f3c374b9ba6dc320c015af39ed41e95
MaleculeH₂(CmF)
Evidence
16:22… macos",
17 target_os = "ios"
18 )
19))]
20use crate::sys::stat::FileFlag;
21#[cfg(feature = "fs")]
22use crate::sys::stat::Mode;
23use crate::{Error, NixPath, Result};
24#[cfg(not(target_os = "redox"))]
25use cfg_if::cfg_if;
26use libc::{
27 self, c_char, c_int, c_long, c_uint, c_void, gid_t, mode_t, off_t, pid_t,
28 size_t, uid_t, PATH_MAX,
29};
30use std::convert::Infallible;
31use std::ffi::{CStr, OsString};
32#[cfg(not(target_os = "redox"))]
33use std::ffi::{CString, OsStr};
34#[cfg(not(target_os = "redox"))]
35use std::os::unix::ffi::OsStrExt;
36use std::os::unix::ffi::OsStringExt;
37use std::os::unix::io::RawFd;
38use std::path::PathBuf;
39use std::{fmt, mem, ptr};
40
41feature! {
42 #![feature = "fs"]
43 #[cfg(any(target_os = "android", target_os = "linux"))]
44 …
327:66… the OS to
328/// apply some operations across the group.
329///
330/// `setsid()` may be used to create a new process group.
331#[inline]
332pub fn setpgid(pid: Pid, pgid: Pid) -> Result<()> {
333 let res = unsafe …
662:17… -> Result<PathBuf> {
663 let mut buf = Vec::with_capacity(512);
664 loop {
665 unsafe {
666 let ptr = buf.as_mut_ptr() as *mut c_char;
667
668 // The buffer must be large enough to stor …
910:7… ecute program relative to a directory file descriptor (see
911/// [execveat(2)](https://man7.org/linux/man-pages/man2/execveat.2.html)).
912///
913/// The `execveat` function allows for another process to be "c …
1439:24… getegid() })
1440}
1441
1442/// Set the effective user ID
1443///
1444/// See also [seteuid(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/seteuid.html)
1445#[inline]
1446pub fn seteuid(euid: Uid) -> Result<()> { …
No evidence locations were recorded for this file. Raw result