Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. getUnixOutputStreamFd :: (MonadIO m, IsUnixOutputStream o) => o -> m Int32

    gi-gio GI.Gio.Objects.UnixOutputStream

    Get the value of the “fd” property. When overloading is enabled, this is equivalent to

    get unixOutputStream #fd
    

  2. setUnixOutputStreamCloseFd :: (MonadIO m, IsUnixOutputStream o) => o -> Bool -> m ()

    gi-gio GI.Gio.Objects.UnixOutputStream

    Set the value of the “close-fd” property. When overloading is enabled, this is equivalent to

    set unixOutputStream [ #closeFd := value ]
    

  3. toUnixOutputStream :: (MonadIO m, IsUnixOutputStream o) => o -> m UnixOutputStream

    gi-gio GI.Gio.Objects.UnixOutputStream

    Cast to UnixOutputStream, for types for which this is known to be safe. For general casts, use castTo.

  4. unixOutputStreamGetCloseFd :: (HasCallStack, MonadIO m, IsUnixOutputStream a) => a -> m Bool

    gi-gio GI.Gio.Objects.UnixOutputStream

    Returns whether the file descriptor of stream will be closed when the stream is closed. Since: 2.20

  5. unixOutputStreamGetFd :: (HasCallStack, MonadIO m, IsUnixOutputStream a) => a -> m Int32

    gi-gio GI.Gio.Objects.UnixOutputStream

    Return the UNIX file descriptor that the stream writes to. Since: 2.20

  6. unixOutputStreamNew :: (HasCallStack, MonadIO m) => Int32 -> Bool -> m UnixOutputStream

    gi-gio GI.Gio.Objects.UnixOutputStream

    Creates a new UnixOutputStream for the given fd. If closeFd, is True, the file descriptor will be closed when the output stream is destroyed.

  7. unixOutputStreamSetCloseFd :: (HasCallStack, MonadIO m, IsUnixOutputStream a) => a -> Bool -> m ()

    gi-gio GI.Gio.Objects.UnixOutputStream

    Sets whether the file descriptor of stream shall be closed when the stream is closed. Since: 2.20

  8. module GI.Gio.Objects.UnixSocketAddress

    Support for UNIX-domain (also known as local) sockets, corresponding to struct sockaddr_un. UNIX domain sockets are generally visible in the filesystem. However, some systems support abstract socket names which are not visible in the filesystem and not affected by the filesystem permissions, visibility, etc. Currently this is only supported under Linux. If you attempt to use abstract sockets on other systems, function calls may return G_IO_ERROR_NOT_SUPPORTED errors. You can use unixSocketAddressAbstractNamesSupported to see if abstract names are supported. Since GLib 2.72, GUnixSocketAddress is available on all platforms. It requires underlying system support (such as Windows 10 with AF_UNIX) at run time. Before GLib 2.72, <gio/gunixsocketaddress.h> belonged to the UNIX-specific GIO interfaces, thus you had to use the gio-unix-2.0.pc pkg-config file when using it. This is no longer necessary since GLib 2.72.

  9. class (GObject o, IsDescendantOf UnixSocketAddress o) => IsUnixSocketAddress o

    gi-gio GI.Gio.Objects.UnixSocketAddress

    Type class for types which can be safely cast to UnixSocketAddress, for instance with toUnixSocketAddress.

  10. newtype UnixSocketAddress

    gi-gio GI.Gio.Objects.UnixSocketAddress

    Memory-managed wrapper type.

Page 170 of many | Previous | Next