Deleted Added
full compact
fseek.3 (107387) fseek.3 (108087)
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

--- 20 unchanged lines hidden (view full) ---

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)fseek.3 8.1 (Berkeley) 6/4/93
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

--- 20 unchanged lines hidden (view full) ---

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)fseek.3 8.1 (Berkeley) 6/4/93
37.\" $FreeBSD: head/lib/libc/stdio/fseek.3 107387 2002-11-29 15:57:50Z ru $
37.\" $FreeBSD: head/lib/libc/stdio/fseek.3 108087 2002-12-19 09:40:28Z ru $
38.\"
39.Dd October 12, 2002
40.Dt FSEEK 3
41.Os
42.Sh NAME
43.Nm fgetpos ,
44.Nm fseek ,
45.Nm fseeko ,

--- 142 unchanged lines hidden (view full) ---

188Otherwise, \-1 is returned and the global variable
189.Va errno
190is set to indicate the error.
191.Sh ERRORS
192.Bl -tag -width Er
193.It Bq Er EBADF
194The
195.Fa stream
38.\"
39.Dd October 12, 2002
40.Dt FSEEK 3
41.Os
42.Sh NAME
43.Nm fgetpos ,
44.Nm fseek ,
45.Nm fseeko ,

--- 142 unchanged lines hidden (view full) ---

188Otherwise, \-1 is returned and the global variable
189.Va errno
190is set to indicate the error.
191.Sh ERRORS
192.Bl -tag -width Er
193.It Bq Er EBADF
194The
195.Fa stream
196specified
196argument
197is not a seekable stream.
198.It Bq Er EINVAL
199The
200.Fa whence
201argument is invalid or
202the resulting file-position
203indicator would be set to a negative value.
204.It Bq Er EOVERFLOW

--- 60 unchanged lines hidden ---
197is not a seekable stream.
198.It Bq Er EINVAL
199The
200.Fa whence
201argument is invalid or
202the resulting file-position
203indicator would be set to a negative value.
204.It Bq Er EOVERFLOW

--- 60 unchanged lines hidden ---