mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
a14f26ef69
setpriority. * sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def. * sysdeps/unix/sysv/irix4/getpriority.c: Likewise. * sysdeps/mach/hurd/setpriority.c: Likewise. * sysdeps/mach/hurd/getpriority.c: Likewise. * sysdeps/generic/setpriority.c: Likewise. * sysdeps/generic/getpriority.c: Likewise. * include/mcheck.h: Use libc_hidden_proto for mcheck_check_all. * malloc/mcheck.c: Add libc_hidden_def. * include/search.h: Use libc_hidden_proto for hcreate_r, hdestroy_r. * misc/hsearch_r.c: Add libc_hidden_def. * include/fnmatch.h: Use libc_hidden_proto for fnmatch. * posix/fnmatch.c: Add libc_hidden_weak.
15 lines
434 B
C
15 lines
434 B
C
#ifndef _SYS_RESOURCE_H
|
|
#include <resource/sys/resource.h>
|
|
|
|
libc_hidden_proto (getpriority)
|
|
libc_hidden_proto (setpriority)
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern int __getrlimit (enum __rlimit_resource __resource,
|
|
struct rlimit *__rlimits);
|
|
extern int __getrusage (enum __rusage_who __who, struct rusage *__usage);
|
|
|
|
extern int __setrlimit (enum __rlimit_resource __resource,
|
|
const struct rlimit *__rlimits);
|
|
#endif
|