V9/libc/fio/fioundo.c

Compare this file to the similar file:
Show the results in this format:

#define	FIO_IMP
#include	"fio.h"
#include	<libc.h>

void
Fundo(fd)
{
	register Fbuffer *f;

	FIOSET(f, fd);
	if(f->rdlast)
		f->next[-1] = '\n';
	f->next = f->lnext;
}