Linux Manual Pages development
 help / color / mirror / Atom feed
* Mangled function prototypes (phantom arguments)
@ 2026-05-27 12:14 Michael Kerrisk (man7.org)
  2026-05-27 13:47 ` Alejandro Colomar
  0 siblings, 1 reply; 13+ messages in thread
From: Michael Kerrisk (man7.org) @ 2026-05-27 12:14 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man

Hello Alex,

It looks like some scripted changes have mangled the call signatures
in multiple SYSNOPIS sections in section 2. (In some cases, multiple
call signatures in the same SYNOPSIS have the problem.)

The problems have all resulted in prototypes adding a phantom first
argument. See for example this prototype from read.2:

       ssize_t read(size_t count;
                    int fd, void buf[count], size_t count);

As far as I can see, at least the following pages are affected:

add_key
alloc_hugepages
cacheflush
epoll_wait
futex_waitv
getdents
getdents64
getdomainname
get_mempolicy
getrandom
getsockopt
getunwind
getxattr
init_module
listmount
lookup_dcookie
madvise
mbind
mincore
mlock
mmap
modify_ldt
mprotect
mremap
msgop
msync
perfmonctl
pread
process_madvise
query_module
read
readlink
recv
recvmsg
remap_file_pages
s390_pci_mmio_write
send
sendmsg
setxattr
write

I did a quick scripted check of section 3 pages, but spotted no problems there.

Thanks,

Michael

-- 
Michael Kerrisk, man7.org Training and Consulting
mtk@man7.org, http://man7.org/training/
"The Linux Programming Interface" -- http://man7.org/tlpi/

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-05-28 23:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-27 12:14 Mangled function prototypes (phantom arguments) Michael Kerrisk (man7.org)
2026-05-27 13:47 ` Alejandro Colomar
2026-05-27 16:46   ` Michael Kerrisk (man7.org)
2026-05-27 17:58     ` Alejandro Colomar
2026-05-28 13:06       ` Michael Kerrisk (man7.org)
2026-05-28 14:25         ` Alejandro Colomar
2026-05-28 18:39         ` Carlos O'Donell
2026-05-28 21:24           ` Alejandro Colomar
2026-05-28 21:43             ` Mark Harris
2026-05-28 22:10               ` Alejandro Colomar
2026-05-28 22:11                 ` Alejandro Colomar
2026-05-28 22:56             ` Alejandro Colomar
2026-05-28 23:22               ` Mark Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox