aboutsummaryrefslogtreecommitdiff
path: root/sys/src/seek.c
blob: f1f8628471b55d30b3ece056db36c245aa385715 (plain)
1
2
3
4
5
6
7
8
#include "internal.h"

int
sys·seek(int fd, intptr offset, int from, intptr *pos)
{
    long ret = *pos = syscall(·LSeek, fd, offset, from);
    return error(ret);
}