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 Library Reference - <u>synopsis:</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <string.h>
    void *memset( void *dst, int c, size_t length );
    void __far *_fmemset( void __far *dst, int c,
                          size_t length );

Description:
    The memset function fills the first length characters of the object
    pointed to by dst with the value c.

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

Returns:
    The memset function returns the pointer dst.

Example:
    #include <string.h>

    void main()
      {
        char buffer[80];

        memset( buffer, '=', 80 );
      }

Classification:
    memset is ANSI, _fmemset is not ANSI

Systems:
     memset - All, Netware

    _fmemset - All

See Also:
    memchr, memcmp, memcpy, memicmp, memmove

See Also:

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