Package: manpages-dev
Version: 6.20-2
Severity: normal
Dear Maintainer,
It looks to me like the synopsis for fwrite is wrong in the manual page.
In particular, it shows that the `size` and `n` parameters appear before
`ptr`, as well as after:
```
0 dkg@bob:~$ man fwrite | head -n 20
fread(3) Library Functions Manual
fread(3)
NAME
fread, fwrite - binary stream input/output
LIBRARY
Standard C library (libc, -lc)
SYNOPSIS
#include <stdio.h>
size_t fread(size_t size, size_t n;
void ptr[restrict size * n],
size_t size, size_t n,
FILE *restrict stream);
size_t fwrite(size_t size, size_t n;
const void ptr[restrict size * n],
size_t size, size_t n,
FILE *restrict stream);
0 dkg@bob:~$
```
-- System Information:
Debian Release: forky/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'stable'), (200,
'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 7.2.12+deb14-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages manpages-dev depends on:
ii manpages 6.20-2
manpages-dev recommends no packages.
Versions of packages manpages-dev suggests:
ii man-db [man-browser] 2.13.1-1
-- no debconf information