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.
getUnixOutputStreamFd :: (MonadIO m, IsUnixOutputStream o) => o -> m Int32gi-gio GI.Gio.Objects.UnixOutputStream Get the value of the “fd” property. When overloading is enabled, this is equivalent to
get unixOutputStream #fd
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 ]
toUnixOutputStream :: (MonadIO m, IsUnixOutputStream o) => o -> m UnixOutputStreamgi-gio GI.Gio.Objects.UnixOutputStream Cast to UnixOutputStream, for types for which this is known to be safe. For general casts, use castTo.
unixOutputStreamGetCloseFd :: (HasCallStack, MonadIO m, IsUnixOutputStream a) => a -> m Boolgi-gio GI.Gio.Objects.UnixOutputStream Returns whether the file descriptor of stream will be closed when the stream is closed. Since: 2.20
unixOutputStreamGetFd :: (HasCallStack, MonadIO m, IsUnixOutputStream a) => a -> m Int32gi-gio GI.Gio.Objects.UnixOutputStream Return the UNIX file descriptor that the stream writes to. Since: 2.20
unixOutputStreamNew :: (HasCallStack, MonadIO m) => Int32 -> Bool -> m UnixOutputStreamgi-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.
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
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.
class (GObject o, IsDescendantOf UnixSocketAddress o) =>
IsUnixSocketAddress ogi-gio GI.Gio.Objects.UnixSocketAddress Type class for types which can be safely cast to UnixSocketAddress, for instance with toUnixSocketAddress.
-
gi-gio GI.Gio.Objects.UnixSocketAddress Memory-managed wrapper type.