aka computer_file
aka data_file? - No. (Sub에 추가함)
(이상 파일 형식에 따라)
extension뿐만 아니라 filename 자체도 convention으로 굳어진 filenames가 많다.
rc_file =,rc_file . rc_file ??
.htaccess - web_server
FILE_ID.DIZ
....
(대개의 os/fs에서) filename에 금지된 characters
os/fs에 따라 다른데 일단 path separator인
/
(대개의 os/fs에서) 금지된 filenames
.
..
DOS/Windows: NUL CON ... Win 9x에서 con을 가지고 명령 한 줄로 다운시키기가 가능했었는데 뭐였지 ...
windows 95 con bug 하면 나온다. "C:\Con\Con"을 열려고 시도하면 crash.
extension: ''filename''' suffix convention? CHK
extension - filename_extension / file_name_extension / file_extension (wpen)
{
filename extension
(파일이름|파일명|파일) //optional
확장자
확장명
익스텐션
...?
분류 역할. 근데 이름에만 영향을 끼치므로 파일 내용 앞부분(header ?)도 보아야 제대로 file type detection을 할 수 있다.
Up: specification > Internet_Standard
}// MIME
}// filename extension
file_manager
AKA file_browser (we)
path : 디렉토리(들)?
pathname : 디렉토리(들)+파일명?
relative_pathname
absolute_pathname
path의 번역은?
경로,path는 수학/그래프이론 쪽의 pagename,
패스,path는 filesystem 쪽의 pagename 으로 할까?
파일의 종류
* 보통 파일
* 디렉토리 ??
* 장치 파일 device_file
* 소켓 socket
* 심볼릭 링크 symbolic_link
etc.
binary_file =,binary_file =,binary_file . binary_file
{
바이너리 파일 (이진 파일)
... 그리고 file_type 에 따라 file_format 이 있다.
파일형식,file_format =파일형식,file_format =,file_format 파일형식 file_format
{
파일 형식, 파일 포맷 (wpko)
image_file_format
{
이미지,image
Disambig:
disk_image
이미지_파일_형식 =
https://ko.wikipedia.org/wiki/이미지_파일_형식
}
_file_format
_file_format
_file_format
_file_format
_file_format
_file_format
...
container_file_format
{
AKA container_format // wpen pagename.
AKA digital_container_format // wpen redirect.
AKA wrapper (informally), metafile (wpen 시작부분) wrapper_format (wpko)
열린파일,open_file =열린파일,open_file =,open_file 열린파일 open_file ////이런건 del ok
{
aka opened file ?
pagename to opened_file ??
}
file_opening > file_opening_mode ?? file_handling_mode ?
파일 열기 모드(mode)
C, Python 등이 다른가?
fopen(filename, mode)
실패하면 NULL를 리턴.
끝나면 파일을 닫는
fclose { int fclose(FILE *fp) }
r | 읽기 | 쓰기 | 추가 | 파없생 |
w | ○ | | | TBW |
a | | ○ | |
r+ | | | ○ |
...TBW |
파없생 = 파일이 없을 때 생성 여부
MKLINK
permission esp filesystem_permission
PL에서 파일을 다룬다면(handling, working with)
opening
reading/writing
closing
순서.
file handling (operation) primitives?