Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_nstrdup() duplicate string (model independent)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _nstrdup()              Duplicate String (Model Independent)

 #include   <string.h>

 char _near *_nstrdup(string);
 char _far *string;

    _nstrdup() is a model independent form of strdup(), duplicating
    string and placing it in memory allocated by _nmalloc() on the
    hear heap. See strdup() for more details.

    Returns:    A pointer to the duplicate string if successful;
                NULL otherwise.

 Portability:   Not supported by the ANSI standard.


See Also: strcat() strcmp() strdup() strncat() strncpy()

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