Searched refs:is_init (Results 1 – 3 of 3) sorted by relevance
47 assert_eq!(process::getpid().is_init(), libc::getpid() == 1); in test_getpid()60 assert_eq!(ppid.is_init(), libc::getppid() == 1); in test_getppid()80 process::getpgid(None).unwrap().is_init(), in test_getpgid()
938 const bool is_init = startswith (secname, ".init"); in INTDEF() local939 if (is_init) in INTDEF()965 if (is_init && f == NULL && errno == ENOENT) in INTDEF()
162 pub const fn is_init(self) -> bool { in is_init() method