본문 바로가기

JunHyeok

검색하기
JunHyeok
프로필사진 junhyeok-log

  • 분류 전체보기 (27)
    • PintOS (14)
    • Algorithm (1)
    • Computer Science (1)
    • Flutter (11)
      • 순한맛 (6)
      • 조금매운맛 (5)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/10   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Tags
  • materialapp
  • algorithm
  • flutter
  • scaffold
  • create
  • widget
  • BFS
  • Copy-on-write
  • vm
  • pintos
  • Flutter
  • Cow
  • icon button
  • stack growth
  • System call
  • file
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록create (1)

JunHyeok

[PintOS - Userprog] Create & Remove

create 시스템 콜createbool create (const char *file, unsigned initial_size) { is_valid_addr(file); return filesys_create(file, initial_size);}create 시스템 콜 함수는 주어진 파일 이름(file)과 초기 크기(initial_size)를 사용하여 파일을 생성하는 시스템 콜입니다. 입력된 주소가 유효한지 확인한 후, filesys_create 함수를 호출하여 실제 파일을 생성합니다.🤔 이 함수도 open, read와 같이 구현 자체는 정말 간단하다! 😼 2. filesys_create/* Creates a file named NAME with the given INITIAL_SIZE...

PintOS 2024. 5. 28. 13:39
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바