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>
    void *memset( void *dst,
                  int c,
                  size_t length );
    void __far *_fmemset( void __far *dst,
                          int c,
                          size_t length );

Description:
    The memset and _fmemset functions fill the first length characters of
    the object pointed to by s 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 and _fmemset functions return the pointer s.

See Also:
    memchr, _fmemchr, memcmp, _fmemcmp, memcpy, _fmemcpy, memmove, _fmemmove

Example:
    #include <string.h>

    void main()
      {
        char buffer[80];

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

Classification:
    memset is ANSI, _fmemset is not ANSI

Systems:
     memset - All

    _fmemset - All

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