"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libs/src/str/strparse.3" between
xinetd-2.3.15.tar.gz and xinetd-2.3.15.4.tar.xz

About: xinetd is a secure replacement for inetd, the internet services daemon (openSUSE fork).

strparse.3  (xinetd-2.3.15):strparse.3  (xinetd-2.3.15.4.tar.xz)
skipping to change at line 43 skipping to change at line 43
DESCRIPTION DESCRIPTION
These functions are useful for parsing strings. In this context parsin g means breaking the string into These functions are useful for parsing strings. In this context parsin g means breaking the string into
substrings. The substrings are separated by a list of possible separator characters. substrings. The substrings are separated by a list of possible separator characters.
str_component() returns successive substrings of the string. str_parse () creates and initializes a str_component() returns successive substrings of the string. str_parse () creates and initializes a
string parser with the string that will be processed, str, the list o f possible separator characters, string parser with the string that will be processed, str, the list o f possible separator characters,
separ, and flags that control how the parser works. The flags argument is formed by ORing one or more of separ, and flags that control how the parser works. The flags argument is formed by ORing one or more of
the following constants: the following constants:
STR_RETURN_ERROR If something goes wrong return a value that indicates STR_RETURN_ERROR If something goes wrong return a value that indica
that an error occured (e.g. out tes that an error occurred (e.g.
of memory). The default is for the program to be term out of memory). The default is for the program to be
inated with an appropriate error terminated with an appropriate
message. error message.
STR_NULL_START If str starts with a separator then a zero-length s tring will be returned the first STR_NULL_START If str starts with a separator then a zero-length s tring will be returned the first
time str_component() is called. time str_component() is called.
STR_NULL_END If str ends with a separator then a zero-length strin g will be returned by str_compo- STR_NULL_END If str ends with a separator then a zero-length strin g will be returned by str_compo-
nent() when the substrings of str are exhausted. nent() when the substrings of str are exhausted.
STR_MALLOC The strings returned by str_component() will be in m alloc'ed memory. By default the STR_MALLOC The strings returned by str_component() will be in m alloc'ed memory. By default the
substrings are part of str. If this option is not u sed str will be modified by substrings are part of str. If this option is not u sed str will be modified by
str_component(). str_component().
 End of changes. 1 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)