sysconf.c
imports <sys/socket.h>UDP socket type constant
SHA-256ae3a6bc3455ef8a1c765cdd8ac494c83a1b0cb594e2bd32d29fc8d9e05a00257
MaleculeH(Cm)Md(In)
Evidence
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1993
5 * The Regents of the University of California. All rights reserved.
6 *
7 * This code is derived from software contributed to Berkeley by
8 * Sean Eric Fagan of Cygnus Support.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above …
24:6… PLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABL …
31:47… VISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 */
34
35#include "namespace.h"
36#include <sys/param.h>
37#include <sys/exterrvar.h>
38#include <sys/time.h>
39#include <sys/sysctl.h>
40#include <sys/resource.h>
41#include <sys/socket.h>
42
43#include <elf.h>
44#include <errno.h>
45#include <limits.h>
46#include <paths.h>
47#include <pthread.h> /* we just need the limits */
48#include <semaphore.h>
49#include <time.h>
50#include <unistd.h>
51#include "un-namespace.h"
52
53#include "../stdlib/atexit.h"
54#include "tzdir.h" /* from ../../../contrib/tzcode */
55#include "libc_private.h"
56
57#define _PATH_ZONEINFO TZDIR /* from tzfile.h */
⋯4 lines
571:20… 0
572 sverrno = errno;
573 value = _socket(PF_INET6, SOCK_CLOEXEC | SOCK_DGRAM, 0);
574 errno = sverrno;
575 if (value >= 0) {
⋯6 lines