1.1 --- a/epoc32/include/stdapis/sys/mman.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/stdapis/sys/mman.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,7 +1,6 @@
1.4 /*-
1.5 * Copyright (c) 1982, 1986, 1993
1.6 * The Regents of the University of California. All rights reserved.
1.7 - * © Portions copyright (c) 2006 Symbian Software Ltd. All rights reserved.
1.8 *
1.9 * Redistribution and use in source and binary forms, with or without
1.10 * modification, are permitted provided that the following conditions
1.11 @@ -26,7 +25,7 @@
1.12 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1.13 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1.14 * SUCH DAMAGE.
1.15 - * © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved.
1.16 + * Portions Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
1.17 * @(#)mman.h 8.2 (Berkeley) 1/9/95
1.18 * $FreeBSD: src/sys/sys/mman.h,v 1.40 2005/04/02 12:33:31 das Exp $
1.19 */
1.20 @@ -110,10 +109,19 @@
1.21 #ifndef _MMAP_DECLARED
1.22 #define _MMAP_DECLARED
1.23 IMPORT_C void * mmap(void *, size_t, int, int, int, off_t);
1.24 +
1.25 +#if defined(SYMBIAN_OE_LARGE_FILE_SUPPORT) && !defined(SYMBIAN_OE_NO_LFS)
1.26 +#define mmap64 mmap
1.27 +#endif /* SYMBIAN_OE_LARGE_FILE_SUPPORT && !SYMBIAN_OE_NO_LFS */
1.28 +
1.29 #endif
1.30 IMPORT_C int mprotect(const void *, size_t, int);
1.31 IMPORT_C int msync(void *, size_t, int);
1.32 IMPORT_C int munmap(void *, size_t);
1.33 +#if __POSIX_VISIBLE >= 199309
1.34 +IMPORT_C int shm_open(const char *, int, mode_t);
1.35 +IMPORT_C int shm_unlink(const char *);
1.36 +#endif
1.37 __END_DECLS
1.38
1.39 #endif /* !_KERNEL */