Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- C/Database Toolchest Library - name: <b>showrec</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Name:       showrec

Purpose:    show record to stdout

Prototype:  int showrec(char **fields, char *separator);

Inputs:     fields      - array of pointers to field values for record
            separator   - field separator string or NULL for new line

Description:
        showrec shows nul-terminated fields from the argv-style array of
        fields to stdout.  The last element of fields must be a NULL
        pointer.

        The field values are printed with the string separator separating
        the values.  If the separator is NULL, each value begins a new
        line.  Note that separator is a string (character array), not just
        a single character.

Returns:
        Returns OK and prints to stdout, or ERROR
Header:

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson