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 <stdio.h>
    int remove( const char *filename );
    int _wremove( const wchar_t *filename );

Description:
    The remove function deletes the file whose name is the string pointed to
    by filename.

    The _wremove function is identical to remove except that it accepts a
    wide-character string argument.

Returns:
    The remove function returns zero if the operation succeeds, non-zero if
    it fails.  When an error has occurred,  errno contains a value
    indicating the type of error that has been detected.

Example:
    #include <stdio.h>

    void main()
      {
        remove( "vm.tmp" );
      }

Classification:
    remove is ANSI, _wremove is not ANSI

Systems:
     remove - All, Netware

    _wremove - DOS, Windows, Win386, Win32, OS/2 1.x(all), OS/2-32

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