fread.3 (32eef9aeb1f39a1623cea55da147c89abbd5b9a5) | fread.3 (54e4e385de33a961e801ceeea8146437e25edd88) |
---|---|
1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek and the American National Standards Committee X3, 6.\" on Information Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 34 unchanged lines hidden (view full) --- 43.Nm fread , 44.Nm fwrite 45.Nd binary stream input/output 46.Sh LIBRARY 47.Lb libc 48.Sh SYNOPSIS 49.In stdio.h 50.Ft size_t | 1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek and the American National Standards Committee X3, 6.\" on Information Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 34 unchanged lines hidden (view full) --- 43.Nm fread , 44.Nm fwrite 45.Nd binary stream input/output 46.Sh LIBRARY 47.Lb libc 48.Sh SYNOPSIS 49.In stdio.h 50.Ft size_t |
51.Fn fread "void *ptr" "size_t size" "size_t nmemb" "FILE *stream" | 51.Fn fread "void * restrict ptr" "size_t size" "size_t nmemb" "FILE * restrict stream" |
52.Ft size_t | 52.Ft size_t |
53.Fn fwrite "const void *ptr" "size_t size" "size_t nmemb" "FILE *stream" | 53.Fn fwrite "const void * restrict ptr" "size_t size" "size_t nmemb" "FILE * restrict stream" |
54.Sh DESCRIPTION 55The function 56.Fn fread 57reads 58.Fa nmemb 59objects, each 60.Fa size 61bytes long, from the stream pointed to by --- 48 unchanged lines hidden --- | 54.Sh DESCRIPTION 55The function 56.Fn fread 57reads 58.Fa nmemb 59objects, each 60.Fa size 61bytes long, from the stream pointed to by --- 48 unchanged lines hidden --- |