epoc32/include/stdapis/stdlib.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /*-
     1 /*-
     2  * Copyright (c) 1990, 1993
     2  * Copyright (c) 1990, 1993
     3  * © Portions copyright (c) 2006 Symbian Software Ltd. All rights reserved.
       
     4 
     3 
     5  *	The Regents of the University of California.  All rights reserved.
     4  *	The Regents of the University of California.  All rights reserved.
     6  *
     5  *
     7  * Redistribution and use in source and binary forms, with or without
     6  * Redistribution and use in source and binary forms, with or without
     8  * modification, are permitted provided that the following conditions
     7  * modification, are permitted provided that the following conditions
    28  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    27  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    29  * SUCH DAMAGE.
    28  * SUCH DAMAGE.
    30  *
    29  *
    31  *	@(#)stdlib.h	8.5 (Berkeley) 5/19/95
    30  *	@(#)stdlib.h	8.5 (Berkeley) 5/19/95
    32  * $FreeBSD: src/include/stdlib.h,v 1.57 2005/01/09 03:55:12 tjr Exp $
    31  * $FreeBSD: src/include/stdlib.h,v 1.57 2005/01/09 03:55:12 tjr Exp $
    33  * © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved.
    32  * Portions Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies).All rights reserved.
    34  * © Portions copyright (c) 2006 Nokia Corporation.  All rights reserved.
       
    35  */
    33  */
    36 
    34 
    37 #ifndef _STDLIB_H_
    35 #ifndef _STDLIB_H_
    38 #define	_STDLIB_H_
    36 #define	_STDLIB_H_
    39 
    37 
   224 #if __XSI_VISIBLE
   222 #if __XSI_VISIBLE
   225 /* XXX XSI requires pollution from <sys/wait.h> here.  We'd rather not. */
   223 /* XXX XSI requires pollution from <sys/wait.h> here.  We'd rather not. */
   226 /* long	 a64l(const char *); */
   224 /* long	 a64l(const char *); */
   227 #ifndef _MKSTEMP_DECLARED
   225 #ifndef _MKSTEMP_DECLARED
   228 IMPORT_C int	 mkstemp(char *);
   226 IMPORT_C int	 mkstemp(char *);
       
   227 
       
   228 #if defined(SYMBIAN_OE_LARGE_FILE_SUPPORT) && !defined(SYMBIAN_OE_NO_LFS)
       
   229 #define mkstemp64 mkstemp
       
   230 #endif /* SYMBIAN_OE_LARGE_FILE_SUPPORT && !SYMBIAN_OE_NO_LFS */
       
   231 
   229 #define	_MKSTEMP_DECLARED
   232 #define	_MKSTEMP_DECLARED
   230 #endif
   233 #endif
   231 IMPORT_C int	 putenv(const char *);
   234 IMPORT_C int	 putenv(const char *);
   232 IMPORT_C long	 random(void);
   235 IMPORT_C long	 random(void);
   233 IMPORT_C void	 srandom(unsigned long);
   236 IMPORT_C void	 srandom(unsigned long);