diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-04-18 17:42:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-04-18 17:42:52 +0000 |
commit | dc32d4fe06d8a2e4826c55b423d514a00612426b (patch) | |
tree | 5acc1635c430fe3dabc367f5fee02111f52d5476 /sysdeps | |
parent | d3f5f3d6615013ad7ae0f2eaf67762a12435e7d0 (diff) | |
download | glibc-dc32d4fe06d8a2e4826c55b423d514a00612426b.tar glibc-dc32d4fe06d8a2e4826c55b423d514a00612426b.tar.gz glibc-dc32d4fe06d8a2e4826c55b423d514a00612426b.tar.bz2 glibc-dc32d4fe06d8a2e4826c55b423d514a00612426b.zip |
Update.
2000-04-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
* sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
* sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
* sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
* sysdeps/unix/sysv/aix/setregid.c: Likewise.
* sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
* sysdeps/unix/sysv/aix/setgid.c: Likewise.
* sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
* sysdeps/unix/sysv/aix/setegid.c: Likewise.
* sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
* sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
it here.
* sysdeps/unix/sysv/aix/msync.c: New file.
* sysdeps/unix/sysv/aix/msgsnd.c: New file.
* sysdeps/unix/sysv/aix/net/if.h: New file.
* sysdeps/unix/sysv/aix/pipe.c: New file.
* sysdeps/unix/sysv/aix/poll.c: New file.
* sysdeps/unix/sysv/aix/rename.c: New file.
* sysdeps/unix/sysv/aix/rmdir.c: New file.
* sysdeps/unix/sysv/aix/select.c: New file.
* sysdeps/unix/sysv/aix/semctl.c: New file.
* sysdeps/unix/sysv/aix/semget.c: New file.
* sysdeps/unix/sysv/aix/semop.c: New file.
* sysdeps/unix/sysv/aix/sendto.c: New file.
* sysdeps/unix/sysv/aix/setgroups.c: New file.
* sysdeps/unix/sysv/aix/setpgid.c: New file.
* sysdeps/unix/sysv/aix/setpgrp.c: New file.
* sysdeps/unix/sysv/aix/setpriority.c: New file.
* sysdeps/unix/sysv/aix/setrlimit.c: New file.
* sysdeps/unix/sysv/aix/setrlimit64.c: New file.
* sysdeps/unix/sysv/aix/setsid.c: New file.
* sysdeps/unix/sysv/aix/setsockopt.c: New file.
* sysdeps/unix/sysv/aix/shmat.c: New file.
* sysdeps/unix/sysv/aix/shmctl.c: New file.
* sysdeps/unix/sysv/aix/shmdt.c: New file.
* sysdeps/unix/sysv/aix/shmget.c: New file.
* sysdeps/unix/sysv/aix/sigaltstack.c: New file.
* sysdeps/unix/sysv/aix/sigstack.c: New file.
* sysdeps/unix/sysv/aix/socket.c: New file.
* sysdeps/unix/sysv/aix/socketpair.c: New file.
* sysdeps/unix/sysv/aix/speed.c: New file.
* sysdeps/unix/sysv/aix/symlink.c: New file.
* sysdeps/unix/sysv/aix/sync.c: New file.
* sysdeps/unix/sysv/aix/tcgetattr.c: New file.
* sysdeps/unix/sysv/aix/tcsetattr.c: New file.
* sysdeps/unix/sysv/aix/times.c: New file.
* sysdeps/unix/sysv/aix/ulimit.c: New file.
* sysdeps/unix/sysv/aix/umask.c: New file.
* sysdeps/unix/sysv/aix/unlink.c: New file.
* sysdeps/unix/sysv/aix/ustat.c: New file.
* sysdeps/unix/sysv/aix/utimes.c: New file.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/aix/ulimit.c | 37 | ||||
-rw-r--r-- | sysdeps/unix/sysv/aix/umask.c | 26 | ||||
-rw-r--r-- | sysdeps/unix/sysv/aix/unlink.c | 26 | ||||
-rw-r--r-- | sysdeps/unix/sysv/aix/ustat.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/aix/utimes.c | 27 | ||||
-rw-r--r-- | sysdeps/unix/sysv/aix/xstat.c | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/aix/xstat64.c | 3 |
7 files changed, 119 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/aix/ulimit.c b/sysdeps/unix/sysv/aix/ulimit.c new file mode 100644 index 0000000000..c72a527c0a --- /dev/null +++ b/sysdeps/unix/sysv/aix/ulimit.c @@ -0,0 +1,37 @@ +/* Copyright (C) 1999, 2000 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., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <stdarg.h> +#include <sys/resource.h> + +long int +__ulimit (int cmd, ...) +{ + va_list va; + long int arg; + long int res; + + va_start (va, cmd); + arg = va_arg (va, long int); + + res = ulimit (cmd, arg); + + va_end (va); + + return res; +} diff --git a/sysdeps/unix/sysv/aix/umask.c b/sysdeps/unix/sysv/aix/umask.c new file mode 100644 index 0000000000..6bbfdac5e3 --- /dev/null +++ b/sysdeps/unix/sysv/aix/umask.c @@ -0,0 +1,26 @@ +/* Copyright (C) 1999, 2000 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., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sys/stat.h> + +mode_t +__umask (mask) + mode_t mask; +{ + return umask (mask); +} diff --git a/sysdeps/unix/sysv/aix/unlink.c b/sysdeps/unix/sysv/aix/unlink.c new file mode 100644 index 0000000000..e1bac23f4b --- /dev/null +++ b/sysdeps/unix/sysv/aix/unlink.c @@ -0,0 +1,26 @@ +/* Copyright (C) 1999, 2000 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., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <unistd.h> + +int +__unlink (name) + const char *name; +{ + return unlink (name); +} diff --git a/sysdeps/unix/sysv/aix/ustat.c b/sysdeps/unix/sysv/aix/ustat.c new file mode 100644 index 0000000000..6036fbbffd --- /dev/null +++ b/sysdeps/unix/sysv/aix/ustat.c @@ -0,0 +1 @@ +/* This is a system call. */ diff --git a/sysdeps/unix/sysv/aix/utimes.c b/sysdeps/unix/sysv/aix/utimes.c new file mode 100644 index 0000000000..907931ac7e --- /dev/null +++ b/sysdeps/unix/sysv/aix/utimes.c @@ -0,0 +1,27 @@ +/* Copyright (C) 1999, 2000 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., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sys/time.h> + +int +__utimes (file, tvp) + const char *file; + const struct timeval tvp[2]; +{ + return utimes (file, tvp); +} diff --git a/sysdeps/unix/sysv/aix/xstat.c b/sysdeps/unix/sysv/aix/xstat.c index e053ce7f11..df01afadf9 100644 --- a/sysdeps/unix/sysv/aix/xstat.c +++ b/sysdeps/unix/sysv/aix/xstat.c @@ -19,9 +19,8 @@ #include <assert.h> #include <sys/stat.h> -/* this is #define'd in <sys/stat.h> why #define it here? #define STX_NORMAL 0x00 - */ + extern int statx (const char *pathname, struct stat *st, int len, int cmd); diff --git a/sysdeps/unix/sysv/aix/xstat64.c b/sysdeps/unix/sysv/aix/xstat64.c index 07a62fd065..eadf637103 100644 --- a/sysdeps/unix/sysv/aix/xstat64.c +++ b/sysdeps/unix/sysv/aix/xstat64.c @@ -19,10 +19,9 @@ #include <assert.h> #include <sys/stat.h> -/* these are #define'd in <sys/stat.h>, why #define them here? #define STX_NORMAL 0x00 #define STX_64 0x08 - */ + extern int statx (const char *pathname, struct stat64 *st, int len, int cmd); |