Public bug reported: Binary package hint: manpages-posix-dev
Description: Ubuntu 8.10 Release: 8.10 manpages-posix-dev: Installed: 2.16-1 Candidate: 2.16-1 Version table: *** 2.16-1 0 500 http://archive.ubuntu.com intrepid/multiverse Packages 100 /var/lib/dpkg/status The EXAMPLES section of the fread(3) man page uses the following snippet: #include <stdio.h> ... size_t bytes_read; char buf[100]; FILE *fp; ... bytes_read = fread(buf, sizeof(buf), 1, fp); ... However, fread returns the number of elements read, not the number of bytes read. ** Affects: manpages-posix (Ubuntu) Importance: Undecided Status: New -- fread(3) man page EXAMPLES section is misleading https://bugs.launchpad.net/bugs/345062 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs