Newer
Older
access-test / modules / main / include / test_create.h
Nomura Kei on 9 Dec 2022 652 bytes UPDATE
/**
 * @file	test_create.h
 * @brief	create ใƒ†ใ‚นใƒˆ
 * @author	Nomura Kei
 * @copyright 2008  Nomura Kei
 */
#ifndef TEST_CREATE_H
#define TEST_CREATE_H

#include <stdbool.h>


bool can_create_file(const char* pathname);
bool can_create_directory(const char* pathname);
bool can_create_character_device_file(const char* pathname, unsigned int maj, unsigned int min);
bool can_create_block_device_file(const char* pathname, unsigned int maj, unsigned int min);
bool can_create_socket(const char* pathname);
bool can_create_fifo(const char* pathname);
bool can_create_symbolic_link(const char* pathname, const char* target);


#endif	// TEST_CREATE_H