Lines Matching defs:Checkwrite
98 * int Checkwrite( char *file, struct stat *statb, int rw, int create,
107 int Checkwrite( const char *file, struct stat *statb, int rw, int create,
117 DEBUG3("Checkwrite: file '%s', rw %d, create %d, nodelay %d",
141 DEBUG3( "Checkwrite: cannot open '%s', %s", file, Errormsg(err) );
147 LOGERR(LOG_ERR) "Checkwrite: fcntl F_GETFL of '%s' failed", file);
150 DEBUG3( "Checkwrite: F_GETFL value '0x%x', BLOCK 0x%x",
155 DEBUG3( "Checkwrite: after F_SETFL value now '0x%x'",
159 LOGERR(LOG_ERR) "Checkwrite: fcntl F_SETFL of '%s' failed",
168 LOGERR_DIE(LOG_ERR) "Checkwrite: fstat of '%s' failed, possible security problem", file);
175 DEBUG3( "Checkwrite: '%s' directory, mode 0%o",
185 LOGERR(LOG_ERR) "Checkwrite: dup of '%s' failed", file);
196 DEBUG2("Checkwrite: file '%s' fd %d, inode 0x%x, perms 0%o",
204 * Tries to do Checkwrite() with a timeout
212 fd = Checkwrite( file, statb, rw, create, nodelay );