putvec(3C)
NAME
putvec − write acc_vector file entry
SYNOPSIS
#include <acc_vec.h>
int putvec (p, f)
struct vector ∗p;
FILE ∗f;
DESCRIPTION
putvec is the inverse of getvec(3C). Given a pointer to a vector structure created by getvec (or getvecid) putvec writes a line on the stream f, which matches the format of /etc/acc_vector.
A negative value for either the uid or gid field in the vector structure is treated as a null field.
DIAGNOSTICS
putvec returns non-zero if an error was detected during its operation, otherwise zero.
SEE ALSO
WARNING
The above routine uses <stdio.h>, which causes it to increase the size of programs, not otherwise using standard I/O, more than might be expected.
CX/UX Programmer’s Reference Manual