Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 560492
Collapse All | Expand All

(-)a/src/basic/missing.h (-1 / +5 lines)
Lines 1028-1034 static inline int renameat2(int oldfd, const char *oldname, int newfd, const cha Link Here
1028
1028
1029
#if !HAVE_DECL_KCMP
1029
#if !HAVE_DECL_KCMP
1030
static inline int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2) {
1030
static inline int kcmp(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2) {
1031
#if defined(__NR_kcmp)
1031
        return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2);
1032
        return syscall(__NR_kcmp, pid1, pid2, type, idx1, idx2);
1033
#else
1034
        errno = ENOSYS;
1035
        return -1;
1036
#endif
1032
}
1037
}
1033
#endif
1038
#endif
1034
1039
1035
- 

Return to bug 560492