mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
13 lines
212 B
C
13 lines
212 B
C
![]() |
#include <stdio.h>
|
||
|
#include <sys/socket.h>
|
||
|
|
||
|
int main() {
|
||
|
|
||
|
if (socket(AF_APPLETALK, SOCK_DGRAM, 0) != -1) {
|
||
|
fprintf(stderr, "Opening Appletalk socket worked, should be blocked\n");
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
return 0;
|
||
|
}
|