Kaynağa Gözat

增加fstat系统调用号 (#6)

* 增加fstat系统调用号
houmkh 9 ay önce
ebeveyn
işleme
f57e6686c1
2 değiştirilmiş dosya ile 7 ekleme ve 0 silme
  1. 5 0
      .vscode/settings.json
  2. 2 0
      src/platform/x86_64/nr.rs

+ 5 - 0
.vscode/settings.json

@@ -0,0 +1,5 @@
+{
+    "rust-analyzer.linkedProjects": [
+        "./Cargo.toml",
+    ]
+}

+ 2 - 0
src/platform/x86_64/nr.rs

@@ -45,3 +45,5 @@ pub const SYS_GETSOCKNAME: usize = 41;
 pub const SYS_GETPEERNAME: usize = 42;
 
 pub const SYS_GETTIMEOFDAY: usize = 43;
+
+pub const SYS_FSTAT: usize = 47;