ustrdup man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

ustrdup(3)			Allegro manual			    ustrdup(3)

NAME
       ustrdup - Duplicates a string. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       char *ustrdup(const char *src)

DESCRIPTION
       This  functions	copies	the  null-terminated string `src' into a newly
       allocated area of memory, effectively duplicating it. Example:

	  void manipulate_string(const char *input_string)
	  {
	     char *temp_buffer = ustrdup(input_string);
	     /* Now we can modify temp_buffer */
	     ...

RETURN VALUE
       Returns the newly allocated string. This memory must be	freed  by  the
       caller.	Returns	 NULL  if  it cannot allocate space for the duplicated
       string.

SEE ALSO
       _ustrdup(3), uconvert(3), ustrsize(3), ustrsizez(3), exconfig(3)

Allegro				 version 4.4.2			    ustrdup(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net