[英]What is the use of stat.h in cat.c file of the xv6 os?
stat.h
中的 stat.h cat.c
有什么用?
在這里你有cat.c
https://github.com/mit-pdos/xv6-riscv/blob/riscv/user/cat.c
在這里你有stat.h
https://github.com/mit-pdos/xv6-riscv/blob/riscv/kernel/stat.h
我沒有看到cat.c
中的stat
結構有任何直接使用,所以我想知道是否有間接使用。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.