Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - <b>synopsis:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <string.h>
    char *strcat( char *dst, const char *src );
    char __far *_fstrcat( char __far *dst,
                          const char __far *src );

Description:
    The strcat and _fstrcat functions append a copy of the string pointed to
    by src (including the terminating null character) to the end of the
    string pointed to by dst.  The first character of src overwrites the
    null character at the end of dst.

    The _fstrcat function is a data model independent form of the strcat
    function.  It accepts far pointer arguments and returns a far pointer.
     It is most useful in mixed memory model applications.

Returns:
    The value of dst is returned.

See Also:
    strncat, _fstrncat

Example:
    #include <stdio.h>
    #include <string.h>

    void main()
      {
        char buffer[80];

        strcpy( buffer, "Hello " );
        strcat( buffer, "world" );
        printf( "%s\n", buffer );
      }

    produces the following:

    Hello world

Classification:
    strcat is ANSI, _fstrcat is not ANSI

Systems:
     strcat - All

    _fstrcat - All

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