Skip to content

Commit 36feae0

Browse files
Update file.mdx
1 parent 3aae99a commit 36feae0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • src/content/docs/hh3/reference/os

src/content/docs/hh3/reference/os/file.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ Works the same as `File_Stat` but uses an open file descriptor.
149149
150150
#### Memory address
151151
152+
:::warning
153+
Avoid using it. When file are fragmented getaddr only gets you the first fragment
154+
:::
155+
152156
```c
153157
int File_GetAddr(int fd, int offset, const void **addr);
154158
```

0 commit comments

Comments
 (0)