source: trunk/minix/lib/stdio/fsetpos.c@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 247 bytes
Line 
1/*
2 * fsetpos.c - set the position in the file
3 */
4/* $Header: /cvsup/minix/src/lib/stdio/fsetpos.c,v 1.1.1.1 2005/04/21 14:56:35 beng Exp $ */
5
6#include <stdio.h>
7
8int
9fsetpos(FILE *stream, fpos_t *pos)
10{
11 return fseek(stream, *pos, SEEK_SET);
12}
Note: See TracBrowser for help on using the repository browser.