mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
* Add missing Linux headers. Closes #9837 * Update existing headers to latest Linux. * Consolidate headers that are the same for multiple Zig target CPU architectures. For example, Linux has only an x86 directory for both x86_64 and x86 CPU architectures. Now Zig only ships an x86 directory for Linux headers, and will emit the proper corresponding -isystem flags. * tools/update-linux-headers.zig is now available for upgrading to newer Linux headers, and the update process is now documented on the wiki.
27 lines
No EOL
767 B
C
Vendored
27 lines
No EOL
767 B
C
Vendored
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
|
/*
|
|
* Socket-level I/O control calls.
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*
|
|
* Copyright (C) 1995 by Ralf Baechle
|
|
*/
|
|
#ifndef _ASM_SOCKIOS_H
|
|
#define _ASM_SOCKIOS_H
|
|
|
|
#include <asm/ioctl.h>
|
|
|
|
/* Socket-level I/O control calls. */
|
|
#define FIOGETOWN _IOR('f', 123, int)
|
|
#define FIOSETOWN _IOW('f', 124, int)
|
|
|
|
#define SIOCATMARK _IOR('s', 7, int)
|
|
#define SIOCSPGRP _IOW('s', 8, pid_t)
|
|
#define SIOCGPGRP _IOR('s', 9, pid_t)
|
|
|
|
#define SIOCGSTAMP_OLD 0x8906 /* Get stamp (timeval) */
|
|
#define SIOCGSTAMPNS_OLD 0x8907 /* Get stamp (timespec) */
|
|
|
|
#endif /* _ASM_SOCKIOS_H */ |