Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
(ARM).Porting TCP-IP programmer's guide.Ver 1.6.pdf
Скачиваний:
43
Добавлен:
23.08.2013
Размер:
2.64 Mб
Скачать

Miscellaneous Library Functions

9.3nextcarg.c

The nextcarg.c file contains only one function, nextcarg().

9.3.1nextcarg()

This function is used to split a comma-delimited string into its components.

Syntax

char *nextcarg(char *arg) where:

arg

Is a pointer to a null-terminated string containing a comma-delimited

 

argument list.

Return value

Returns one of the following:

next

The next argument from arg if there is an argument to be returned.

NULL

If there are no more arguments.

ARM DUI 0144B

Copyright © 1998-2001 ARM Limited. All rights reserved.

9-17