Deleted Added
full compact
funopen.3 (1574) funopen.3 (13511)
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.
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

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

39.Sh NAME
40.Nm funopen ,
41.Nm fropen ,
42.Nm fwopen
43.Nd open a stream
44.Sh SYNOPSIS
45.Fd #include <stdio.h>
46.Ft FILE *
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.
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

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

39.Sh NAME
40.Nm funopen ,
41.Nm fropen ,
42.Nm fwopen
43.Nd open a stream
44.Sh SYNOPSIS
45.Fd #include <stdio.h>
46.Ft FILE *
47.Fn funopen "void *cookie" "int (*readfn)(void *, char *, int)" "int (writefn*)(void *, const char *, int)" "fpos_t (seekfn*)(void *, fpos_t, int)" "int (closefn*)(void *)"
47.Fn funopen "void *cookie" "int (*readfn)(void *, char *, int)" "int (*writefn)(void *, const char *, int)" "fpos_t (*seekfn)(void *, fpos_t, int)" "int (*closefn)(void *)"
48.Ft FILE *
49.Fn fropen "void *cookie" "int (*readfn)(void *, char *, int)"
50.Ft FILE *
51.Fn fwopen "void *cookie" "int (*writefn)(void *, char *, int)"
52.Sh DESCRIPTION
53The
54.Fn funopen
55function

--- 113 unchanged lines hidden ---
48.Ft FILE *
49.Fn fropen "void *cookie" "int (*readfn)(void *, char *, int)"
50.Ft FILE *
51.Fn fwopen "void *cookie" "int (*writefn)(void *, char *, int)"
52.Sh DESCRIPTION
53The
54.Fn funopen
55function

--- 113 unchanged lines hidden ---