Sign in
plan9port
/
plan9
/
b3a110affa33f0a3c96e06438047913f2db90c91
/
.
/
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
;
}