Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add from_fd and from_raw_fd #12

Closed
wants to merge 1 commit into from
Closed

Add from_fd and from_raw_fd #12

wants to merge 1 commit into from

Conversation

YtvwlD
Copy link

@YtvwlD YtvwlD commented Mar 25, 2024

Thanks for this crate!

I'm trying to pass a pty from the process that created it to another one (via dbus), so I needed some way to get the fd back into a pty.

@doy
Copy link
Owner

doy commented Jan 30, 2025

thanks! implemented a form of this in 684c0da (from_raw_fd is a bit redundant because OwnedFd already has a from_raw_fd unsafe function)

@doy doy closed this Jan 30, 2025
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