Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ipc — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SYSCALLS/IPC                                             1985/04/30


Include files:

     Pascal:     /sys/ins/ipc.ins.pas


Procedures and Functions:


    IPC_$CLOSE (pathname, length, status)
        Closes an IPC socket.

    IPC_$CREATE (pathname, length, status)
        Creates a file where an IPC socket handle can be stored.

    IPC_$DELETE (pathname, length, status)
        Deletes a file that was used to store an IPC socket handle.

    IPC_$GET_EC (handle, ec-ptr, status)
        Gets a pointer to the eventcount associated with an IPC socket.

    IPC_$OPEN (pathname, length, depth, handle, status)
        Opens an available IPC socket, obtains its handle, and
        places the handle in a file.


    IPC_$RCV (handle, hdr-buflen, data-buflen, from-handle,
              hdr-buf, hdr-length, data-buf, data-length, status)
        Gets a datagram that has been received in an IPC socket.
        This call copies the datagram to the buffers that you specify.

    IPC_$RESOLVE (pathname, length, handle, status)
        Obtain the handle for an open socket.

    IPC_$SAR (retry-time, to-handle, in-hdr-buf, in-hdr-length, in-data-buf,
              in-data-length, out-hdr-buflen, out-data-buflen, out-hdr-buf,
              out-hdr-length, out-data-buf, out-data-length, status)
        Performs a single send/await-reply operation.  This call sends a
        datagram, waits a specified amount of time for a reply, and copies
        the reply to the buffers you specify.

    IPC_$SEND (to-handle, reply-handle, hdr-buf, hdr-length,
               data-buf, data-length, status)
        Sends a datagram to an IPC socket.

    IPC_$WAIT (handle, wait-time, status)
        Waits for a specified amount of time to receive datagram in an IPC
        socket.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026