Google
 

Trailing-Edge - PDP-10 Archives - SRI_NIC_PERM_FS_1_19910112 - kcc-5/lib/stdio/rewind.c
There are 7 other files named rewind.c in the archive. Click here to see a list.
/*
 *	REWIND - rewind a stream back to the beginning
 *
 *	Copyright (C) 1986 by Ian Macky, SRI International
 */

#include "stdio.h"
#include "sys/file.h"

void rewind(f)
FILE *f;
{
    fseek(f, 0L, L_SET);
}