Skip to content

lib/fs: add read_fd - #349

Closed
yogo1212 wants to merge 1 commit into
ucode-lang:masterfrom
yogo1212:read_fd
Closed

yogo1212 wants to merge 1 commit into
ucode-lang:masterfrom
yogo1212:read_fd

Conversation

@yogo1212

Copy link
Copy Markdown
Contributor

aims to address #348

not really fs

@jow-

jow- commented Nov 24, 2025 •

Copy link
Copy Markdown
Collaborator

Why not
fs.stdin.read(100)
or
fs.fdopen(0).read(100)
or
readfile('/proc/self/fd/0', 100)
?

This function proposal feels too specialized for the generic core library.

Edit: nevermind, I just read the linked issue. Please let's continue the discussion there to find a suitable fs api abstraction, I am not going to merge this function.

@jow- jow- closed this Nov 24, 2025
@yogo1212

Copy link
Copy Markdown
Contributor Author

acknowledged

@yogo1212
yogo1212 deleted the read_fd branch November 27, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants