hpux man page for copylist

Query: copylist

OS: hpux

Section: 3g

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

copylist(3G)															      copylist(3G)

NAME
copylist() - copy a file into memory
SYNOPSIS
DESCRIPTION
copies a list of items from a file into freshly allocated memory, replacing new-lines with null characters. It expects two arguments: a pointer filenm to the name of the file to be copied, and a pointer szptr to a variable where the size of the file will be stored. Upon success, returns a pointer to the memory allocated. Otherwise it returns NULL if it has trouble finding the file, calling or opening the file. To use this interface, link in the libgen library by specifying For example:
EXAMPLES
SEE ALSO
malloc(3C), thread_safety(5). copylist(3G)
Related Man Pages
memalign(3c) - hpux
copylist(3gen) - sunos
bsdmalloc(3malloc) - debian
bsdmalloc(3malloc) - suse
bsdmalloc(3malloc) - x11r4
Similar Topics in the Unix Linux Community
BASH: Interactive "cp" (and "mv") in a loop