Mercurial > hg > Members > kono > nitros9-code
view 3rdparty/packages/ed/gettxt.c @ 1427:b3868abe1fee
Rearrangement of directories and files for making bootable 6809/6309 MV disks
author | boisy |
---|---|
date | Tue, 02 Dec 2003 22:35:55 +0000 |
parents | bef1844de0dc |
children |
line wrap: on
line source
/* gettxt.c */ #include <stdio.h> #include "tools.h" #include "ed.h" char * gettxt(num) int num; { LINE *lin; static char txtbuf[MAXLINE]; lin = getptr(num); strcpy(txtbuf, lin->l_buff); strcat(txtbuf, "\n"); return(txtbuf); }