when main() thread exited.
-/* $OpenBSD: unconacc.c,v 1.3 2021/11/29 21:25:09 mvs Exp $ */
+/* $OpenBSD: unconacc.c,v 1.4 2021/12/01 10:24:40 mvs Exp $ */
/*
* Copyright (c) 2021 Vitaliy Makkoveev <mvs@openbsd.org>
return NULL;
}
+static struct sockaddr_un sun;
+
int
main(int argc, char *argv[])
{
.tv_nsec = 0,
};
- struct sockaddr_un sun;
int s;
int mib[2], ncpu;
-/* $OpenBSD: undgram_conclose.c,v 1.3 2021/11/29 21:25:09 mvs Exp $ */
+/* $OpenBSD: undgram_conclose.c,v 1.4 2021/12/01 10:24:40 mvs Exp $ */
/*
* Copyright (c) 2021 Vitaliy Makkoveev <mvs@openbsd.org>
return NULL;
}
+static struct sockaddr_un sun;
+
int
main(int argc, char *argv[])
{
int mib[2], ncpu;
size_t len;
- struct sockaddr_un sun;
-
pthread_t thr;
int error, i;