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.
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.