Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: fusl/src/stdio/__stdio_seek.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #include "stdio_impl.h" 1 #include "stdio_impl.h"
2 2
3 off_t __stdio_seek(FILE *f, off_t off, int whence) 3 off_t __stdio_seek(FILE* f, off_t off, int whence) {
4 { 4 off_t ret;
5 » off_t ret;
6 #ifdef SYS__llseek 5 #ifdef SYS__llseek
7 » if (syscall(SYS__llseek, f->fd, off>>32, off, &ret, whence)<0) 6 if (syscall(SYS__llseek, f->fd, off >> 32, off, &ret, whence) < 0)
8 » » ret = -1; 7 ret = -1;
9 #else 8 #else
10 » ret = syscall(SYS_lseek, f->fd, off, whence); 9 ret = syscall(SYS_lseek, f->fd, off, whence);
11 #endif 10 #endif
12 » return ret; 11 return ret;
13 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698