.ig Copyright (C) 1993,1994 by the author(s). This software is published in the hope that it will be useful, but WITHOUT ANY WARRANTY for any part of this software to work correctly or as described in the manuals. See the ShapeTools Public License for details. Permission is granted to use, copy, modify, or distribute any part of this software but only under the conditions described in the ShapeTools Public License. A copy of this license is supposed to have been given to you along with ShapeTools in a file named LICENSE. Among other things, this copyright notice and the Public License must be preserved on all copies. Author: Andreas Lampen (Andreas.Lampen@cs.tu-berlin.de) $Header: af_note.3[7.0] Fri Jun 25 14:33:14 1993 andy@cs.tu-berlin.de frozen $ .. .TH af_note 3 "Fri Jun 25 14:33:14 1993" "AtFS-1.71" "Attribute Filesystem (AtFS)" .SH NAME af_note \- read and modify note attribute .SH SYNOPSIS #include .sp .ta 1.5c in af_snote (Af_key *aso, char *buf) .sp char *af_rnote (Af_key *aso) .SH DESCRIPTION \fIaf_snote\fP sets the given text (in \fIbuf\fP) as change note of the specified ASO. Text must be null terminated. af_snote requires a lock (see af_lock(3)) set on the specified ASO. .LP \fIAf_rnote\fP returns a pointer to the note attribute of the specified ASO. The note text is returned in memory allocated by malloc(3). Use free(3) to make the space available for further allocation. .SH SEE ALSO af_lock(3), free(3) .SH DIAGNOSTICS Upon error, \-1 or a nil pointer (depending on the return type) is returned and \fIaf_errno\fP is set to the corresponding error number.