December 28, 2018 mkfifo not implemented | ||||
---|---|---|---|---|
| ||||
I am using the Digital Mars C/C++ compiler installed with dm852c.zip for Windows. Function mkfifo() is in header file <sys/stat.h> but is NOT implemented in any of libraries (confirmed by: grep mkfifo -r c:/dm). Is this an oversite? Was the static library accidentally left out, and is available for download? Can anyone recommend how to proceed? Thanks in advance. |
December 29, 2018 Re: mkfifo not implemented | ||||
---|---|---|---|---|
| ||||
Posted in reply to Prem Sobel | On Friday, 28 December 2018 at 23:15:04 UTC, Prem Sobel wrote: > Function mkfifo() is in header file <sys/stat.h> but is NOT implemented in any of libraries (confirmed by: grep mkfifo -r c:/dm). I believe that function (indeed, that whole header file) is part of POSIX, which Windows isn't a part of. The function - as far as I know anyway - is not part of any standard Windows library. On Windows, you can call the CreateNamedPipe function https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-createnamedpipea Which does the same concept, though notice that on Unix, it is part of the filesystem, and on Windows, pipes have a separate namespace. |
Copyright © 1999-2021 by the D Language Foundation