memory mapped file (1) 썸네일형 리스트형 Memory Mapped File Memory Mapped File은 File에 해당하는 공간을 Process address space에 mapping 시키는 것을 말한다. 여러 프로세스에 같은 file을 mapping 시켰을 경우 Inter-process communication이 가능하다. caddr_t mmap (caddr_t addr, size_t len, int prot, int flags, int fildes, off_t off) addr: file의 시작 부분의 메모리 주소 len: mapping되는 size prot: 권한을 부여할 수 있다 flags: mapping되는 방식으로 나중에 자세히 다룰 것이다 fildes: mapping되는 file의 descriptor off: file 안에서 mapping이 시작되는 곳까지.. 이전 1 다음