source: azure_iot_hub/trunk/musl-1.1.18/src/stdio/__stdio_seek.c@ 389

Last change on this file since 389 was 389, checked in by coas-nagasima, 5 years ago

ビルドが通るよう更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 260 bytes
Line 
1#include "stdio_impl.h"
2
3off_t __stdio_seek(FILE *f, off_t off, int whence)
4{
5 off_t ret;
6#ifdef SYS__llseek
7 if (syscall(SYS__llseek, f->fd, off>>32, off, &ret, whence)<0)
8 ret = -1;
9#else
10 ret = syscall(SYS_lseek, f->fd, off, whence);
11#endif
12 return ret;
13}
Note: See TracBrowser for help on using the repository browser.