diff options
author | Roland McGrath <roland@gnu.org> | 1995-11-26 17:32:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-11-26 17:32:10 +0000 |
commit | fbaad1494f7fa9e52c391a926d1c3a015604eb58 (patch) | |
tree | b40487798dd252bb73ced92f96a842e598d0ef05 /sysdeps/unix/sysv/linux/mlock.S | |
parent | f44820454cd5266a807041bd5e5ae36b4f4f6d84 (diff) | |
download | glibc-fbaad1494f7fa9e52c391a926d1c3a015604eb58.tar.gz glibc-fbaad1494f7fa9e52c391a926d1c3a015604eb58.tar.xz glibc-fbaad1494f7fa9e52c391a926d1c3a015604eb58.zip |
Sun Nov 26 02:00:02 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu>
* misc/syslog.c (vsyslog) [USE_IN_LIBIO]: Adapted for libio. Thu Nov 23 02:21:55 1995 Ulrich Drepper <drepper@gnu.ai.mit.edu> * sysdeps/unix/sysv/linux/{mlock,munlock,mlockall,munlockall}.S: New files. * sysdeps/unix/sysv/linux/mman.h: Add prototypes for new functions mlock, munlock, mlockall, and munlockall.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mlock.S')
-rw-r--r-- | sysdeps/unix/sysv/linux/mlock.S | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/mlock.S b/sysdeps/unix/sysv/linux/mlock.S new file mode 100644 index 0000000000..b14f51deba --- /dev/null +++ b/sysdeps/unix/sysv/linux/mlock.S @@ -0,0 +1,24 @@ +/* Copyright (C) 1995 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 +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include <sysdep.h> + +SYSCALL__ (mlock, 2) + ret + +weak_alias (__mlock, mlock) |