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

About Windows named pipe APIs missing #19047

Closed
jinzhongjia opened this issue Feb 23, 2024 · 1 comment
Closed

About Windows named pipe APIs missing #19047

jinzhongjia opened this issue Feb 23, 2024 · 1 comment
Labels
question No questions on the issue tracker, please.

Comments

@jinzhongjia
Copy link

jinzhongjia commented Feb 23, 2024

Named pipe is a commonly used solution for inter-process communication. For example, neovim uses named pipes by default on Windows, and unixsocket is used by default on Linux for RPC calls.According to Microsoft's document, windows provides some useful encapsulation functions.

Existing APIs

I have read through the Windows API in the standard library and found that there are some named pipe APIs.
Like: CreateNamedPipeW, CreatePipe.
But I didn't find more apis about namedpipe, maybe we need to improve this part?

For examples:

@squeek502
Copy link
Collaborator

squeek502 commented Feb 23, 2024

Zig is not intending on providing Windows API bindings that it does not use internally: #4426

If you'd like to use these functions in your own project you can write the relevant bindings directly in your project, or use zigwin32 if you want something comprehensive.

See also:

@squeek502 squeek502 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2024
@squeek502 squeek502 added the question No questions on the issue tracker, please. label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question No questions on the issue tracker, please.
Projects
None yet
Development

No branches or pull requests

2 participants