projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5328a8556f35977c7bb0f2f17dcc95940ba4cb29
[musl]
/
sockatmark.c
1
#include <sys/socket.h>
2
#include <sys/ioctl.h>
3
#include "socketcall.h"
4
5
int sockatmark(int s)
6
{
7
int ret;
8
if (ioctl(s, SIOCATMARK, &ret) < 0)
9
return -1;
10
return ret;
11
}