aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-07-24 15:05:19 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-10-16 14:19:23 -0300
commitf1ed4d4c2cb24f8f0d4f54c89847adf2bb185f50 (patch)
tree4c8d48c63fe8d28c951e8e109990d220d8db5c57 /include
parent14633d3e568eb9770a7e5046eff257113e0453fb (diff)
downloadglibc-f1ed4d4c2cb24f8f0d4f54c89847adf2bb185f50.zip
glibc-f1ed4d4c2cb24f8f0d4f54c89847adf2bb185f50.tar.gz
glibc-f1ed4d4c2cb24f8f0d4f54c89847adf2bb185f50.tar.bz2
linux: Add 64-bit time_t support for wait3
It basically calls the 64-bit time_t wait4 internal symbol. Checked on x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/sys/resource.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/resource.h b/include/sys/resource.h
index 64925f2..2235b02 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -138,12 +138,16 @@ libc_hidden_proto (__setrlimit);
#if __TIMESIZE == 64
# define __getrusage64 __getrusage
# define __wait4_time64 __wait4
+# define __wait3_time64 __wait3
#else
extern int __getrusage64 (enum __rusage_who who, struct __rusage64 *usage);
libc_hidden_proto (__getrusage64)
extern pid_t __wait4_time64 (pid_t pid, int *stat_loc, int options,
struct __rusage64 *usage);
libc_hidden_proto (__wait4_time64)
+extern pid_t __wait3_time64 (int *stat_loc, int options,
+ struct __rusage64 *usage);
+libc_hidden_proto (__wait3_time64)
#endif
#endif
#endif