typo in fseek.3: "prefer seek()" -> "prefer fseek()"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

typo in fseek.3: "prefer seek()" -> "prefer fseek()"

Theo Buehler
ok?

Index: lib/libc/stdio/fseek.3
===================================================================
RCS file: /var/cvs/src/lib/libc/stdio/fseek.3,v
retrieving revision 1.17
diff -u -p -r1.17 fseek.3
--- lib/libc/stdio/fseek.3 15 Mar 2016 19:45:57 -0000 1.17
+++ lib/libc/stdio/fseek.3 26 Mar 2016 22:04:54 -0000
@@ -143,7 +143,7 @@ The
 .Fn rewind
 function returns no value.
 Prefer
-.Fn seek ,
+.Fn fseek ,
 which is just as portable, and does not hide errors.
 Upon successful completion,
 .Fn fgetpos ,

Reply | Threaded
Open this post in threaded view
|

Re: typo in fseek.3: "prefer seek()" -> "prefer fseek()"

Stefan Sperling-5
On Sat, Mar 26, 2016 at 11:09:54PM +0100, Theo Buehler wrote:
> ok?

Yes, makes sense.

> Index: lib/libc/stdio/fseek.3
> ===================================================================
> RCS file: /var/cvs/src/lib/libc/stdio/fseek.3,v
> retrieving revision 1.17
> diff -u -p -r1.17 fseek.3
> --- lib/libc/stdio/fseek.3 15 Mar 2016 19:45:57 -0000 1.17
> +++ lib/libc/stdio/fseek.3 26 Mar 2016 22:04:54 -0000
> @@ -143,7 +143,7 @@ The
>  .Fn rewind
>  function returns no value.
>  Prefer
> -.Fn seek ,
> +.Fn fseek ,
>  which is just as portable, and does not hide errors.
>  Upon successful completion,
>  .Fn fgetpos ,
>