]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/unix/sysv/linux/sys/syscall.h
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / sys / syscall.h
CommitLineData
d614a753 1/* Copyright (C) 1995-2020 Free Software Foundation, Inc.
54d79e99 2 This file is part of the GNU C Library.
28f540f4 3
54d79e99 4 The GNU C Library is free software; you can redistribute it and/or
41bdb6e2
AJ
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
28f540f4 8
54d79e99
UD
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
41bdb6e2 12 Lesser General Public License for more details.
28f540f4 13
41bdb6e2 14 You should have received a copy of the GNU Lesser General Public
59ba27a6 15 License along with the GNU C Library; if not, see
5a82c748 16 <https://www.gnu.org/licenses/>. */
28f540f4 17
d2f5be2a 18#ifndef _SYSCALL_H
54d79e99 19#define _SYSCALL_H 1
28f540f4 20
38a7d692 21/* This file should list the numbers of the system calls the system knows.
d2f5be2a
UD
22 But instead of duplicating this we use the information available
23 from the kernel sources. */
24#include <asm/unistd.h>
28f540f4 25
f127cd28
RM
26#ifndef _LIBC
27/* The Linux kernel header file defines macros `__NR_<name>', but some
28 programs expect the traditional form `SYS_<name>'. So in building libc
5107cf1d 29 we scan the kernel's list and produce <bits/syscall.h> with macros for
f127cd28 30 all the `SYS_' names. */
cd6ede75 31# include <bits/syscall.h>
f127cd28
RM
32#endif
33
d2f5be2a 34#endif