Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-50
/
.
/
src
/
basic
/
generate-af-list.sh
blob: 39e2dad5e7ab205ecec469df53677243e87f4b09 [
file
] [
log
] [
blame
] [
raw
]
#!/bin/sh
set
-
eu
$1
-
E
-
dM
-
include sys
/
socket
.
h
-
</
dev
/
null
|
\
grep
-
Ev
'AF_UNSPEC|AF_MAX'
|
\
awk
'/^#define[ \t]+AF_[^ \t]+[ \t]+[AP]F_[^ \t]/ { print $2; }'