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

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

Powered by Google App Engine
This is Rietveld 408576698