Thread (4 messages) 4 messages, 2 authors, 2021-01-17

Re: [PATCH] cacheflush.2: Update SYNOPSIS for glibc wrapper

flat view

From: Michael Kerrisk (man-pages) <hidden>
Date: 2021-01-17 20:56:31
Also in: linux-mips

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:
quoted
Hi Alex,

On 1/16/21 3:56 PM, Alejandro Colomar wrote:
quoted
Glibc uses 'void *' instead of 'char *'.
And the prototype is declared in <sys/cacheflush.h>.
D'oh!
quoted
quoted
......

$ 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:
It is defined in <sys/cachectl.h>

Please fix that.
Fixed! (Everything pushed now.)

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help