Sign in
plan9port
/
plan9
/
f5ae255cc3dbe7823cf2fdc3c2c94c363c5932a4
/
.
/
src
/
libndb
/
ndbcat.c
blob: 61ef5e47b117bcc646e1e266b7b523a1731b72ec [
file
] [
log
] [
blame
]
#include
<u.h>
#include
<libc.h>
#include
<bio.h>
#include
<ctype.h>
#include
<ndb.h>
Ndb
*
ndbcat
(
Ndb
*
a
,
Ndb
*
b
)
{
Ndb
*
db
=
a
;
if
(
a
==
nil
)
return
b
;
while
(
a
->
next
!=
nil
)
a
=
a
->
next
;
a
->
next
=
b
;
return
db
;
}