aboutsummaryrefslogtreecommitdiff
path: root/libio/iofopncook.c
AgeCommit message (Expand)AuthorFilesLines
2015-01-02Update copyright dates with scripts/update-copyrights.Joseph Myers1-1/+1
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae1-1/+1
2013-06-07Avoid use of "register" as optimization hint.Joseph Myers1-2/+2
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers1-1/+1
2012-05-24Remove use of INTDEF/INTUSE in libioAndreas Schwab1-25/+24
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert1-3/+2
2010-09-05Remove undefined operationsAndreas Schwab1-4/+3
2005-09-23[BZ #394]Ulrich Drepper1-2/+9
2005-01-19* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typoRoland McGrath1-0/+2
2005-01-06Update.Ulrich Drepper1-3/+18
2004-12-22(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper1-29/+5
2007-07-122.5-18.1Jakub Jelinek1-5/+29
2004-03-10Update.Ulrich Drepper1-0/+2
2004-01-14Update.Ulrich Drepper1-3/+3
2002-02-26Update.Ulrich Drepper1-25/+25
2001-11-132001-11-13 Roland McGrath <roland@frob.com>Roland McGrath1-2/+0
2001-07-06Update to LGPL v2.1.Andreas Jaeger1-20/+22
2000-10-31Update.Ulrich Drepper1-1/+2
2000-06-292000-06-28 Greg McGary <greg@mcgary.org>Greg McGary1-9/+9
2000-05-21Update.Andreas Jaeger1-3/+74
2000-03-26Remove K&R prototypes.Ulrich Drepper1-7/+6
2000-03-14Update.Ulrich Drepper1-1/+2
2000-03-10* mach/devstream.c (devstream_write, devstream_read): New functions.Roland McGrath1-20/+28
1999-07-08Update.Ulrich Drepper1-0/+5
1999-06-16Update.Ulrich Drepper1-3/+3
1999-06-09Update.Ulrich Drepper1-21/+17
1999-04-28Update.Ulrich Drepper1-5/+2
1997-10-12Update.cvs/libc-ud-971011Ulrich Drepper1-6/+8
1997-08-20Update.cvs/libc-ud-970819Ulrich Drepper1-28/+29
1996-09-07update from main archive 960907Ulrich Drepper1-0/+4
1996-09-07update from main archive 960906cvs/libc-960907Ulrich Drepper1-12/+16
1996-05-23Wed May 22 22:10:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>Roland McGrath1-6/+10
1995-11-20Sat Nov 18 16:46:01 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>Roland McGrath1-0/+163
34.4'>github/unlabeled-1.134.4 Unnamed repository; edit this file 'description' to name the repository.root
aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/go32/gerrno.s
blob: fa3f307749463583af499660a84185b56edda49d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# /* This is file GERRNO.S */
# /*
# ** Copyright (C) 1991 DJ Delorie
# **
# ** This file is distributed under the terms listed in the document
# ** "copying.dj".
# ** A copy of "copying.dj" should accompany this file; if not, a copy
# ** should be available from where this file was obtained.  This file
# ** may not be distributed without a verbatim copy of "copying.dj".
# **
# ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
# ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# */

# Modified to use newlib's reent mechanism, 960414, dje.
# Reentrancy isn't really supported of course, the purpose is to
# record `errno' in the normal place.

	.text
	.globl	syscall_error
syscall_error:
	pushl	%eax
	call	___errno
	popl	%edx
	mov	%edx,(%eax)
	mov	$-1,%eax
	ret

	.globl	syscall_check
syscall_check:
	jb	syscall_error
	mov	$0,%eax
	ret