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