strtok.3 (105150) | strtok.3 (108037) |
---|---|
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 105150 2002-10-15 10:11:53Z tjr $ | 51.\" $FreeBSD: head/lib/libc/string/strtok.3 108037 2002-12-18 12:45:11Z ru $ |
52.\" 53.Dd November 27, 1998 54.Dt STRTOK 3 55.Os 56.Sh NAME 57.Nm strtok , strtok_r 58.Nd string tokens 59.Sh LIBRARY --- 33 unchanged lines hidden (view full) --- 93.Pp 94The 95.Fn strtok_r 96function is a reentrant version of 97.Fn strtok . 98The context pointer 99.Fa last 100must be provided on each call. | 52.\" 53.Dd November 27, 1998 54.Dt STRTOK 3 55.Os 56.Sh NAME 57.Nm strtok , strtok_r 58.Nd string tokens 59.Sh LIBRARY --- 33 unchanged lines hidden (view full) --- 93.Pp 94The 95.Fn strtok_r 96function is a reentrant version of 97.Fn strtok . 98The context pointer 99.Fa last 100must be provided on each call. |
101The |
|
101.Fn strtok_r | 102.Fn strtok_r |
103function |
|
102may also be used to nest two parsing loops within one another, as 103long as separate context pointers are used. 104.Pp 105The 106.Fn strtok 107and 108.Fn strtok_r 109functions --- 67 unchanged lines hidden --- | 104may also be used to nest two parsing loops within one another, as 105long as separate context pointers are used. 106.Pp 107The 108.Fn strtok 109and 110.Fn strtok_r 111functions --- 67 unchanged lines hidden --- |