Chapter 11: Interprocess Communication
Subject | Windows | UNIX | C Library | Comments |
---|
IPC | CallNamedPipe | N/A | N/A | CreateFile, WriteFile, ReadFile, CloseHandle | IPC | CloseHandle (pipe handle) | close, msgctl | pclose | Not part of the Standard C librarysee Stevens | IPC | ConnectNamedPipe | N/A | N/A | | IPC | CreateMailslot | N/A | N/A | | IPC | CreateNamedPipe | mkfifo, msgget | N/A | | IPC | CreatePipe | pipe | popen | Not part of the Standard C librarysee Stevens | IPC | DuplicateHandle | dup, dup2, or fcntl | N/A | Or use file names CONIN$, CONOUT$ | IPC | GetNamedPipeHandleState | stat, fstat, lstat64 | N/A | | IPC | GetNamedPipeInfo | stat, fstat, lstat | N/A | | IPC | ImpersonateNamedPipeClient | N/A | N/A | | IPC | PeekNamedPipe | N/A | N/A | | IPC | ReadFile (named pipe handle) | read (fifo), msgsnd | N/A | | IPC | RevertToSelf | N/A | N/A | | IPC | SetNamedPipeHandleState | N/A | N/A | | IPC | transactNamedPipe | N/A | N/A | WriteFile; ReadFile | IPC | WriteFile (named pipe handle) | write (fifo), msgrcv | N/A | | Misc. | GetComputerName | uname | N/A | | Misc. | SetComputerName | N/A | N/A | | Security | SetNamedPipeIdentity | Use directory sticky bit | N/A | |
|
No comments:
Post a Comment