Method lrs::group::Info::from_group_name

Retrieves group info of the group with a certain name.

Syntax

impl<'a> Info<'a> {
    fn from_group_name<S>(buf: &'a mut [u8], name: S) -> Result<Info<'a>, Errno>
        where S: AsByteStr,
}

Arguments

NameDescription
buf

The buffer in which the information will be stored.

name

The group name.