home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
progjour
/
1991
/
01
/
b_destru.c
< prev
next >
Wrap
Text File
|
1990-10-31
|
259b
|
16 lines
/* b_destruct.c -- Listing 4. */
#include <stdlib.h>
#include "textbuf.h"
PUBLIC b_destruct( textbuf *b )
{
if( b->buf && b->magic == B_MAGIC )
{
BFREE( b->buf );
b->magic = 0;
return 1;
}
return 0;
}