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
drawterm: add ERANGE to strtod
[rsc] --rw-rw-r-- M 391777 rsc drawterm 8407 Apr 5 13:03 sys/src/cmd/unix/drawterm/libc/strtod.c
/n/sourcesdump/2006/0405/plan9/sys/src/cmd/unix/drawterm/libc/strtod.c:65,70 -
/n/sourcesdump/2006/0406/plan9/sys/src/cmd/unix/drawterm/libc/strtod.c:65,74
char* cmp;
};
+ #ifndef ERANGE
+ #define ERANGE 12345
+ #endif
+
double
fmtstrtod(const char *as, char **aas)
{
libmach: add le mips
[rsc] --rw-rw-r-- M 391777 glenda sys 16172 Apr 5 13:03 sys/src/libmach/executable.c
/n/sourcesdump/2006/0405/plan9/sys/src/libmach/executable.c:71,79 -
/n/sourcesdump/2006/0406/plan9/sys/src/libmach/executable.c:71,88
ExecTable exectab[] =
{
{ V_MAGIC, /* Mips v.out */
- "mips plan 9 executable",
- "mips plan 9 dlm",
+ "mips plan 9 executable BE",
+ "mips plan 9 dlm BE",
FMIPS,
+ 1,
+ &mmips,
+ sizeof(Exec),
+ beswal,
+ adotout },
+ { P_MAGIC, /* Mips 0.out (r3k le) */
+ "mips plan 9 executable LE",
+ "mips plan 9 dlm LE",
+ FMIPSLE,
1,
&mmips,
sizeof(Exec),
|