]>
git.saurik.com Git - cydia.git/blob - apt.h
6 template <typename Type_
>
7 Type_
*memrchr(Type_
*data
, int value
, int size
) {
8 for (int i
= 0; i
!= size
; ++i
)
9 if (data
[size
- i
- 1] == value
)
10 return data
+ size
- i
- 1;
14 template <typename Type_
>
15 static Type_
*strchrnul(Type_
*s
, int c
) {
16 while (*s
!= c
&& *s
!= '\0')
21 #define faccessat(arg0, arg1, arg2, arg3) \
26 static unsigned nonce(0);
27 #define _trace() syslog(LOG_ERR, "_trace():%s[%u] #%u\n", __FILE__, __LINE__, ++nonce)