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

Side by Side Diff: fusl/src/network/recvfrom.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/network/listen.c ('k') | fusl/src/network/recvmsg.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 ssize_t recvfrom(int fd, 5 ssize_t recvfrom(int fd,
6 void* restrict buf, 6 void* restrict buf,
7 size_t len, 7 size_t len,
8 int flags, 8 int flags,
9 struct sockaddr* restrict addr, 9 struct sockaddr* restrict addr,
10 socklen_t* restrict alen) { 10 socklen_t* restrict alen) {
11 return socketcall_cp(recvfrom, fd, buf, len, flags, addr, alen); 11 return syscall_cp(SYS_recvfrom, fd, buf, len, flags, addr, alen);
12 } 12 }
OLDNEW
« no previous file with comments | « fusl/src/network/listen.c ('k') | fusl/src/network/recvmsg.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698