]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(msync): Add third parameter.
authorUlrich Drepper <drepper@redhat.com>
Mon, 17 Mar 1997 04:02:24 +0000 (04:02 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 17 Mar 1997 04:02:24 +0000 (04:02 +0000)
sysdeps/generic/sys/mman.h

index bcda90f4ba342d237218407510b495dc4c17f73a..32b152e124de779e9314f963b426abf619d5ec2e 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for BSD-style memory management.  Generic/4.4 BSD version.
-   Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1995, 1996, 1997 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
@@ -97,8 +97,8 @@ int mprotect __P ((__caddr_t __addr, size_t __len, int __prot));
 
 /* Synchronize the region starting at ADDR and extending LEN bytes with the
    file it maps.  Filesystem operations on a file being mapped are
-   unpredictable before this is done.  */
-int msync __P ((__caddr_t __addr, size_t __len));
+   unpredictable before this is done.  Flags are from the MS_* set.  */
+int msync __P ((__caddr_t __addr, size_t __len, int flags));
 
 /* Advise the system about particular usage patterns the program follows
    for the region starting at ADDR and extending LEN bytes.  */