summaryrefslogtreecommitdiffstats
path: root/seek_cur.c
blob: c2950a1aef7125a1a9cb247afd3c047334248573 (plain)
1
2
3
4
5
6
7
#include <sys/types.h>
#include "seek.h"

#define CUR 1 /* sigh */

seek_pos seek_cur(int fd)
{ return lseek(fd,(off_t) 0,CUR); }