1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/cdb/seek_cur.c
2015-01-23 17:24:36 +01:00

8 lines
130 B
C

#include <sys/types.h>
#include "seek.h"
#define CUR 1 /* sigh */
seek_pos seek_cur(int fd)
{ return lseek(fd,(off_t) 0,CUR); }