src/utils/unix_utils.c
/** 
 * Simplified wrapper for access to return proper boolean.
 * @param path The path to the file.
 * @param flags The flags to use for checking.
 * @returns Depending on the flag wether the condition is met or not.
 */
Simplified wrapper for access to return proper boolean.
@param path The path to the file.
@param flags The flags to use for checking.
@returns Depending on the flag wether the condition is met or not.
Simplified wrapper for access to return proper boolean . @param path The path to the file . @param flags The flags to use for checking . @returns Depending on the flag wether the condition is met or not .
t_bool	ft_access(const char *path, t_i32 flags)
{
	if (access(path, flags) != -1)
		return (true);
	return (false);
}
t_bool ft_access ( const char * path , t_i32 flags ) { if ( access ( path , flags ) != -1 ) return ( true ) ; return ( false ) ; }
Simplified wrapper for access to return proper boolean.
Simplified wrapper for access to return proper boolean .