]> sourceware.org Git - systemtap.git/commitdiff
tapset: tweak function::tokenize man page to refer to "" rather than NULL
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 5 Oct 2012 14:57:40 +0000 (10:57 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 5 Oct 2012 14:58:19 +0000 (10:58 -0400)
tapset/tokenize.stp

index 4ad48e6f41ea18c1de28ba65e7cda2887daaf71e..91f5a484cf0206b577aecfca30325d0157b5317a 100644 (file)
 /**
  * sfunction tokenize - Return the next non-empty token in a string
  *
- * @input: string to tokenize. If NULL, returns the next non-empty token
+ * @input: string to tokenize. If empty, returns the next non-empty token
  * in the string passed in the previous call to tokenize().
  * @delim: set of characters that delimit the tokens
  * 
- * Description: This function returns the next non-empty token in the 
+ * Description: This function returns the next non-empty token in the
  * given input string, where the tokens are delimited by characters in
- * the delim string.  If the input string is non-NULL, it returns the 
- * first token.  If the input string is NULL, it returns the next
+ * the delim string.  If the input string is non-empty, it returns the
+ * first token.  If the input string is empty, it returns the next
  * token in the string passed in the previous call to tokenize.
  * If no delimiter is found, the entire remaining input string is 
- * returned. It returns NULL when no more tokens are available.
+ * returned. It returns empty when no more tokens are available.
  */
 function tokenize:string(input:string, delim:string)
 %{ /* unprivileged */
This page took 0.026918 seconds and 5 git commands to generate.