1const std = @import("std");
2const builtin = @import("builtin");
3const linux = @import("sys-linux");
4
5test {
6 if (builtin.target.os.tag != .linux) return;
7 _ = &linux.read;
8 _ = &linux.getpid;
9 _ = &linux.exit;
10 _ = &linux.getenv;
11 _ = &linux.openat;
12 _ = &linux.close;
13 _ = &linux.fstat;
14 _ = &linux.readv;
15 _ = &linux.mkdirat;
16 _ = &linux.pthread_self;
17 _ = &linux.gettid;
18 _ = &linux.fstatat;
19 _ = &linux.socket;
20 _ = &linux.listen;
21 _ = &linux.bind;
22 _ = &linux.connect;
23 _ = &linux.shutdown;
24 _ = &linux.setsockopt;
25 _ = &linux.accept4;
26 _ = &linux.send;
27 _ = &linux.recv;
28 _ = &linux.getaddrinfo;
29 _ = &linux.freeaddrinfo;
30 _ = &linux.clock_gettime;
31 _ = &linux.memfd_create;
32 _ = &linux.readlinkat;
33 _ = &linux.write;
34 _ = &linux.writev;
35 _ = &linux.getsockname;
36 _ = &linux.sendfile;
37 _ = &linux.getdents;
38 _ = &linux.renameat;
39 _ = &linux.mmap;
40 _ = &linux.munmap;
41 _ = &linux.openat4;
42 _ = &linux.pthread_attr_init;
43 _ = &linux.pthread_attr_destroy;
44 _ = &linux.pthread_attr_setstacksize;
45 _ = &linux.pthread_attr_setguardsize;
46 _ = &linux.pthread_create;
47 _ = &linux.pthread_detach;
48 _ = &linux.pthread_join;
49 _ = &linux.sched_getaffinity;
50 _ = &linux.pthread_mutex_init;
51 _ = &linux.pthread_mutex_destroy;
52 _ = &linux.pthread_mutex_trylock;
53 _ = &linux.pthread_mutex_lock;
54 _ = &linux.pthread_mutex_unlock;
55 _ = &linux.pthread_cond_init;
56 _ = &linux.pthread_cond_destroy;
57 _ = &linux.pthread_cond_wait;
58 _ = &linux.pthread_cond_timedwait;
59 _ = &linux.pthread_cond_signal;
60 _ = &linux.pthread_cond_broadcast;
61 _ = &linux.mkdtemp;
62 _ = &linux.getrandom;
63 _ = &linux.flock;
64 _ = &linux.futimens;
65 _ = &linux.faccessat;
66 _ = &linux.pthread_rwlock_init;
67 _ = &linux.pthread_rwlock_destroy;
68 _ = &linux.pthread_rwlock_rdlock;
69 _ = &linux.pthread_rwlock_tryrdlock;
70 _ = &linux.pthread_rwlock_wrlock;
71 _ = &linux.pthread_rwlock_trywrlock;
72 _ = &linux.pthread_rwlock_unlock;
73 _ = &linux.pipe2;
74 _ = &linux.kill;
75 _ = &linux.fork;
76 _ = &linux.fchdir;
77 _ = &linux.execvp;
78 _ = &linux.dup2;
79 _ = &linux.poll;
80 _ = &linux.waitpid;
81 _ = &linux.unlinkat;
82 _ = &linux.lseek;
83 _ = &linux.getcwd;
84 _ = &linux.fchmod;
85 _ = &linux.copy_file_range;
86 _ = &linux.dup;
87}