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 <io.h>
    int unlink( const char *path );
    int _wunlink( const wchar_t *path );

Description:
    The unlink function deletes the file whose name is the string pointed to
    by path.  This function is equivalent to the  remove function.

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

Returns:
    The unlink function returns zero if the operation succeeds, non-zero if
    it fails.

Example:
    #include <io.h>

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

Classification:
    unlink is POSIX 1003.1, _wunlink is not POSIX

Systems:
     unlink - All, Netware

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

See Also:
    chdir, chmod, close, getcwd, mkdir, open, remove, rename, rmdir, stat

See Also:

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