projects
/
swifty.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
If port 0 is provided for binding, bind the socket to the next free port from the...
[swifty.git]
/
src
/
kernel
/
test
/
test_setsockopt.c
1
/*
2
* Test sw_setsockopt "syscall".
3
*/
4
5
#include <stdio.h>
6
#include <stdlib.h>
7
#include <string.h>
8
#include <sys/types.h>
9
#include <unistd.h>
10
#include <sys/socket.h>
11
#include <netinet/in.h>
12
#include <errno.h>
13
14
#include "swift_types.h"
15
16
#include "debug.h"
17
#include "util.h"
18
19
#include "test_sw.h"
20
#include "test.h"
21
22
void setsockopt_dummy(void)
23
{
24
test(1 == 1);
25
}