| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 1.91

 

file_is_writeable

#include "sflfile.h"
Bool
file_is_writeable (
    const char *filename)

Synopsis

Returns TRUE if the current process can write the specified file or directory. The filename may end in a slash (/ or \).

Source Code - (sflfile.c)

{
    ASSERT (filename);

    return ((file_mode (clean path (filename)) & S_IWRITE) != 0);
}

| << | < | > | >> iMatix Copyright © 1996-98 iMatix