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

Side by Side Diff: fusl/src/network/accept.c

Issue 1730723002: [fusl] Remove socketcall abstraction (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 | « fusl/src/internal/syscall.h ('k') | fusl/src/network/accept4.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 <sys/socket.h> 1 #include <sys/socket.h>
2 #include "syscall.h" 2 #include "syscall.h"
3 #include "libc.h" 3 #include "libc.h"
4 4
5 int accept(int fd, struct sockaddr* restrict addr, socklen_t* restrict len) { 5 int accept(int fd, struct sockaddr* restrict addr, socklen_t* restrict len) {
6 return socketcall_cp(accept, fd, addr, len, 0, 0, 0); 6 return syscall_cp(SYS_accept, fd, addr, len, 0, 0, 0);
7 } 7 }
OLDNEW
« no previous file with comments | « fusl/src/internal/syscall.h ('k') | fusl/src/network/accept4.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698