1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Add support for Linux error EHWPOISON

This commit is contained in:
Andreas Schwab
2012-02-19 15:51:40 +01:00
parent 92221550d7
commit 7638c0fda5
6 changed files with 38 additions and 2 deletions

View File

@ -23,6 +23,10 @@ libc {
#errlist-compat 135
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
}
GLIBC_2.16 {
#errlist-compat 136
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
}
}
librt {
GLIBC_2.3 {

View File

@ -1,5 +1,5 @@
/* Error constants. Linux/Sparc specific version.
Copyright (C) 1996-1999,2002,2005,2009 Free Software Foundation, Inc.
Copyright (C) 1996-1999,2002,2005,2009,2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -40,6 +40,10 @@
# define ERFKILL 134
# endif
# ifndef EHWPOISON
# define EHWPOISON 135
# endif
# ifndef __ASSEMBLER__
/* Function to get address of global `errno' variable. */
extern int *__errno_location (void) __THROW __attribute__ ((__const__));