4.3BSD/usr/contrib/notes/man/nfcomment.3

Compare this file to the similar file:
Show the results in this format:

.TH NFCOMMENT 3 "University of Illinois"
.SH NAME
nfcomment \- a user interface to the notesfile system
.SH SYNOPSIS
.B "nfcomment"
(
.B "notesfile,"
.B "text,"
.B "title,"
.B "dirflag,"
.B "anonflag"
)
.br
.B "char"
.B "*nfname,"
.B "*text,"
.B "*title;"
.PP
.B cc ... \-lnfcom
.SH DESCRIPTION
.I Nfcomment 
provides user programs with the ability to insert notes
into a
notesfile.
.PP
The note is inserted into the notesfile specified by 
.I "nfname."
.I Text
is the address of the body of the note; this must be null-terminated.
If
.I text
is  NULL,
the note is gathered from standard input until an EOF is encountered.
The note is entered with the title specified by the
.I title
parameter.
If the 
.I dirflag
or
.I anonflag
parameters are non-zero, the 
director message is enabled
or
the note is entered anonymously.
These take effect only if the user has the appropriate priviledges
in the notesfile.
.PP
.I "Nfpipe"
is used to make the actual insertion of the text.
.SH FILES
.PD 0
.TP 35
/usr/lib/libnfcom.a
-lnfcom library
.PD
.SH SEE ALSO
nfpipe(1),
notes(1),
popen(3S),
system(3),
.br
.ul
The Notesfile Reference Manual
.SH AUTHORS
.nf
Ray Essick (uiucdcs!essick, essick%uiuc@csnet-relay.arpa)
Department of Computer Science
University of Illinois at Urbana-Champaign
Urbana, IL
.sp
Rob Kolstad (kolstad@convex.UUCP)
CONVEX Computer Corporation
Richardson, TX
.fi