Lines Matching defs:set
327 /// may be used to group together a set of processes in order for the OS to
342 /// Create new session and set process group id (see
1108 /// some data, then the file offset is set to offset.
1117 /// the file offset should be set to offset. If there is no hole past offset,
1162 /// The following flags are supported, and will be set atomically as the pipe is
1677 // Returns -1 if ngroups is too small, but does not set errno.
1770 //! alarm::set(60);
1772 //! // Cancel the above set alarm, which returns the number of seconds left
1773 //! // of the previously set alarm.
1801 //! alarm::set(1);
1820 /// Returns the leftover time of a previously set alarm if there was one.
1821 pub fn set(secs: libc::c_uint) -> Option<libc::c_uint> {
1822 assert!(secs != 0, "passing 0 to `alarm::set` is not allowed, to cancel an alarm use `alarm::cancel`");
1826 /// Cancel an previously set alarm signal.
1828 /// Returns the leftover time of a previously set alarm if there was one.
2337 /// Each process has a saved set-user-ID and a saved set-group-ID.
2788 /// Err is returned if the user doesn't have permission to set this UID.
2804 /// Err is returned if the user doesn't have permission to set this GID.