On 1/17/21 9:43 PM, Alejandro Colomar (man-pages) wrote:
> Hi Michael,
>
> On 1/17/21 9:34 PM, Michael Kerrisk (man-pages) wrote:
>> Hi Alex,
>>
>> On 1/16/21 3:56 PM, Alejandro Colomar wrote:
>>> Glibc uses 'void *' instead of 'char *'.
>>> And the prototype is declared in .
>
> D'oh!
>
>>>
>>>
Hi Michael,
On 1/17/21 9:34 PM, Michael Kerrisk (man-pages) wrote:
> Hi Alex,
>
> On 1/16/21 3:56 PM, Alejandro Colomar wrote:
>> Glibc uses 'void *' instead of 'char *'.
>> And the prototype is declared in .
D'oh!
>>
>> ..
>>
>> $ syscall='cacheflush';
>> $ ret='int';
>> $ find glibc/ -typ
Hi Alex,
On 1/16/21 3:56 PM, Alejandro Colomar wrote:
> Glibc uses 'void *' instead of 'char *'.
> And the prototype is declared in .
>
> ..
>
> $ syscall='cacheflush';
> $ ret='int';
> $ find glibc/ -type f -name '*.h' \
> |xargs pcregrep -Mn "(?s)^[\w\s]*${ret}\s*${syscall}\s*\(.*?;";
>
Glibc uses 'void *' instead of 'char *'.
And the prototype is declared in .
..
$ syscall='cacheflush';
$ ret='int';
$ find glibc/ -type f -name '*.h' \
|xargs pcregrep -Mn "(?s)^[\w\s]*${ret}\s*${syscall}\s*\(.*?;";
glibc/sysdeps/unix/sysv/linux/nios2/sys/cachectl.h:27:
extern int cacheflus