Manpage of PUTGRENT
PUTGRENTSection: Linux Programmer's Manual (3)
NAMEputgrent - write a group database entry to a file
SYNOPSIS#define _GNU_SOURCE /* See feature_test_macros(7) */
DESCRIPTIONThe putgrent() function is the counterpart for fgetgrent(3). The function writes the content of the provided struct groupinto the stream. The list of group members must be NULL-terminated or NULL-initialized.
The struct groupis defined as follows:
RETURN VALUEThe function returns zero on success, and a nonzero value on error.
ATTRIBUTESFor an explanation of the terms used in this section, see attributes(7).
CONFORMING TOThis function is a GNU extension.
SEE ALSOfgetgrent(3), getgrent(3), group(5)
This document was created by man2html, using the manual pages.
Time: 19:53:51 GMT, October 26, 2017 Click Here!