Back to index

glibc  2.9
Functions
argz-stringify.c File Reference
#include <argz.h>
#include <string.h>

Go to the source code of this file.

Functions

void __argz_stringify (char *argz, size_t len, int sep)

Function Documentation

void __argz_stringify ( char *  argz,
size_t  len,
int  sep 
)

Definition at line 27 of file argz-stringify.c.

{
  if (len > 0)
    while (1)
      {
       size_t part_len = __strnlen (argz, len);
       argz += part_len;
       len -= part_len;
       if (len-- <= 1)             /* includes final '\0' we want to stop at */
         break;
       *argz++ = sep;
      }
}

Here is the call graph for this function: