The example is okay. The text preceding that example says: The following example reads multiple **single-byte** elements from the fp stream into the array pointed to by buf.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/345062 Title: fread(3) man page EXAMPLES section is misleading To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/manpages-posix/+bug/345062/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs