Esempio n. 1
0
File: n5.c Progetto: aksr/heirloom
static void
write1(int writec, int writem)
{
	int	i;

	lgf++;
	if (skip(1) || !getname())
		return;
	if ((i = getstream(nextf)) < 0)
		return;
	tmtmcwr(0, writec, streams[i].fd, 0, writem);
}
Esempio n. 2
0
File: n5.c Progetto: aksr/heirloom
void
caseclose(void)
{
	int	i;

	lgf++;
	if (skip(1) || !getname())
		return;
	if ((i = getstream(nextf)) < 0)
		return;
	free(streams[i].name);
	memmove(&streams[i], &streams[i+1], (nstreams-i-1) * sizeof *streams);
	nstreams--;
}
Esempio n. 3
0
 query::rows::getstream query::rows::getter(int idx)
 {
     return getstream(this, idx);
 }