ndb(2): document ndbsetmalloctag
[rsc] --rw-rw-r-- M 391777 glenda sys 9607 Apr 5 13:03 sys/man/2/ndb
/n/sourcesdump/2006/0405/plan9/sys/man/2/ndb:77,89 -
/n/sourcesdump/2006/0406/plan9/sys/man/2/ndb:77,92
Ndbtuple* ndbdiscard(Ndbtuple *t, Ndbtuple *a)
.PP
.B
- Ndbtuple* ndbconcatenate(Ndbtuple *a, Ndbtuple *b);
+ Ndbtuple* ndbconcatenate(Ndbtuple *a, Ndbtuple *b)
.PP
.B
- Ndbtuple* ndbreorder(Ndbtuple *t, Ndbtuple *a);
+ Ndbtuple* ndbreorder(Ndbtuple *t, Ndbtuple *a)
.PP
.B
- Ndbtuple* ndbsubstitute(Ndbtuple *t, Ndbtuple *from, Ndbtuple *to);
+ Ndbtuple* ndbsubstitute(Ndbtuple *t, Ndbtuple *from, Ndbtuple *to)
+ .PP
+ .B
+ void ndbsetmalloctag(Ndbtuple *t, uintptr tag)
.SH DESCRIPTION
These routines are used by network administrative programs to search
the network database.
/n/sourcesdump/2006/0405/plan9/sys/man/2/ndb:442,447 -
/n/sourcesdump/2006/0406/plan9/sys/man/2/ndb:445,461
end up on the same line.
.I from
is freed.
+ .PP
+ .I Ndbsetmalloctag
+ sets the malloc tag
+ (see
+ .I setmalloctag
+ in
+ .IR malloc (2))
+ of each tuple in the list
+ .I t
+ to
+ .IR tag .
.SH FILES
.BR /lib/ndb " directory of network database files
.SH SOURCE
|