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

Side by Side Diff: fusl/src/aio/aio.c

Issue 1716893002: [fusl] Remove LFS64 macro (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: apptest rebase 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
« no previous file with comments | « no previous file | fusl/src/aio/aio_suspend.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include <aio.h> 1 #include <aio.h>
2 #include <pthread.h> 2 #include <pthread.h>
3 #include <semaphore.h> 3 #include <semaphore.h>
4 #include <limits.h> 4 #include <limits.h>
5 #include <errno.h> 5 #include <errno.h>
6 #include <unistd.h> 6 #include <unistd.h>
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include "syscall.h" 8 #include "syscall.h"
9 #include "atomic.h" 9 #include "atomic.h"
10 #include "libc.h" 10 #include "libc.h"
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 pthread_sigmask(SIG_SETMASK, &origmask, 0); 373 pthread_sigmask(SIG_SETMASK, &origmask, 0);
374 return ret; 374 return ret;
375 } 375 }
376 376
377 int __aio_close(int fd) { 377 int __aio_close(int fd) {
378 a_barrier(); 378 a_barrier();
379 if (aio_fd_cnt) 379 if (aio_fd_cnt)
380 aio_cancel(fd, 0); 380 aio_cancel(fd, 0);
381 return fd; 381 return fd;
382 } 382 }
383
384 LFS64(aio_cancel);
385 LFS64(aio_error);
386 LFS64(aio_fsync);
387 LFS64(aio_read);
388 LFS64(aio_write);
389 LFS64(aio_return);
OLDNEW
« no previous file with comments | « no previous file | fusl/src/aio/aio_suspend.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698