Deleted Added
full compact
strtok.3 (63397) strtok.3 (65405)
1.\" Copyright (c) 1998 Softweyr LLC. All rights reserved.
2.\"
3.\" strtok_r, from Berkeley strtok
4.\" Oct 13, 1998 by Wes Peters <wes@softweyr.com>
5.\"
6.\" Copyright (c) 1988, 1991, 1993
7.\" The Regents of the University of California. All rights reserved.
8.\"

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

43.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
44.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
45.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
46.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
47.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48.\" SUCH DAMAGE.
49.\"
50.\" @(#)strtok.3 8.2 (Berkeley) 2/3/94
1.\" Copyright (c) 1998 Softweyr LLC. All rights reserved.
2.\"
3.\" strtok_r, from Berkeley strtok
4.\" Oct 13, 1998 by Wes Peters <wes@softweyr.com>
5.\"
6.\" Copyright (c) 1988, 1991, 1993
7.\" The Regents of the University of California. All rights reserved.
8.\"

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

43.\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
44.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
45.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
46.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
47.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48.\" SUCH DAMAGE.
49.\"
50.\" @(#)strtok.3 8.2 (Berkeley) 2/3/94
51.\" $FreeBSD: head/lib/libc/string/strtok.3 63397 2000-07-18 08:05:11Z alex $
51.\" $FreeBSD: head/lib/libc/string/strtok.3 65405 2000-09-03 13:24:28Z ache $
52.\"
53.Dd November 27, 1998
54.Dt STRTOK 3
55.Os FreeBSD 3.0
56.Sh NAME
57.Nm strtok, strtok_r
58.Nd string tokens
59.Sh LIBRARY

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

82is called,
83.Fa str
84should be specified; subsequent calls, wishing to obtain further tokens
85from the same string, should pass a null pointer instead.
86The separator string,
87.Fa sep ,
88must be supplied each time, and may change between calls.
89.Pp
52.\"
53.Dd November 27, 1998
54.Dt STRTOK 3
55.Os FreeBSD 3.0
56.Sh NAME
57.Nm strtok, strtok_r
58.Nd string tokens
59.Sh LIBRARY

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

82is called,
83.Fa str
84should be specified; subsequent calls, wishing to obtain further tokens
85from the same string, should pass a null pointer instead.
86The separator string,
87.Fa sep ,
88must be supplied each time, and may change between calls.
89.Pp
90The implementation will behave as if no library function calls
91.Fn strtok .
92.Pp
90The
91.Fn strtok_r
92function is a reentrant version of
93.Fn strtok .
94The context pointer
95.Fa last
96must be provided on each call.
97.Fn strtok_r

--- 72 unchanged lines hidden ---
93The
94.Fn strtok_r
95function is a reentrant version of
96.Fn strtok .
97The context pointer
98.Fa last
99must be provided on each call.
100.Fn strtok_r

--- 72 unchanged lines hidden ---