LibC: Add sockatmark stub
This commit is contained in:
parent
3acad7c911
commit
b755cf3e42
|
|
@ -172,11 +172,16 @@ int setsockopt(int socket, int level, int option_name, const void* option_value,
|
|||
return syscall(SYS_SETSOCKOPT, socket, level, option_name, option_value, option_len);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#include <BAN/Assert.h>
|
||||
|
||||
int shutdown(int, int)
|
||||
int sockatmark(int s)
|
||||
{
|
||||
ASSERT_NOT_REACHED();
|
||||
dwarnln("TODO: sockatmark({})", s);
|
||||
errno = ENOTSUP;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int shutdown(int socket, int how)
|
||||
{
|
||||
dwarnln("TODO: shutdown({}, {})", socket, how);
|
||||
errno = ENOTSUP;
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue