diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:52:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:52:22 +0000 |
commit | 3d08cd331c1adcf0d917392f7e527b3f00511748 (patch) | |
tree | 312f0d1e1632f48862f044b8bb87e602dcffb5f9 /man3/putgrent.3 | |
parent | Adding debian version 6.7-2. (diff) | |
download | manpages-3d08cd331c1adcf0d917392f7e527b3f00511748.tar.xz manpages-3d08cd331c1adcf0d917392f7e527b3f00511748.zip |
Merging upstream version 6.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3/putgrent.3')
-rw-r--r-- | man3/putgrent.3 | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/man3/putgrent.3 b/man3/putgrent.3 deleted file mode 100644 index 1de2084..0000000 --- a/man3/putgrent.3 +++ /dev/null @@ -1,66 +0,0 @@ -'\" t -.\" Copyright 2003 Walter Harms (walter.harms@informatik.uni-oldenburg.de) -.\" -.\" SPDX-License-Identifier: GPL-1.0-or-later -.\" -.TH putgrent 3 2023-10-31 "Linux man-pages 6.7" -.SH NAME -putgrent \- write a group database entry to a file -.SH LIBRARY -Standard C library -.RI ( libc ", " \-lc ) -.SH SYNOPSIS -.nf -.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" -.B #include <grp.h> -.P -.BI "int putgrent(const struct group *restrict " grp \ -", FILE *restrict " stream ); -.fi -.SH DESCRIPTION -The -.BR putgrent () -function is the counterpart for -.BR fgetgrent (3). -The function writes the content of the provided -.I struct group -into the -.IR stream . -The list of group members must be NULL-terminated or NULL-initialized. -.P -The -.I struct group -is defined as follows: -.P -.in +4n -.EX -struct group { - char *gr_name; /* group name */ - char *gr_passwd; /* group password */ - gid_t gr_gid; /* group ID */ - char **gr_mem; /* group members */ -}; -.EE -.in -.SH RETURN VALUE -The function returns zero on success, and a nonzero value on error. -.SH ATTRIBUTES -For an explanation of the terms used in this section, see -.BR attributes (7). -.TS -allbox; -lbx lb lb -l l l. -Interface Attribute Value -T{ -.na -.nh -.BR putgrent () -T} Thread safety MT-Safe -.TE -.SH STANDARDS -GNU. -.SH SEE ALSO -.BR fgetgrent (3), -.BR getgrent (3), -.BR group (5) |