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

Miscellaneous Library Functions

11.5nextcarg.c

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

11.5.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:

the next argument from arg

if there is an argument to be returned.

NULL if there are no more arguments.

11-18

Copyright © 1998 and 1999 ARM Limited. All rights reserved.

ARM DUI 0079B