Blame docs/reference/gio/html/GFileDescriptorBased.html

Packit ae235b
Packit ae235b
<html>
Packit ae235b
<head>
Packit ae235b
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit ae235b
<title>GFileDescriptorBased: GIO Reference Manual</title>
Packit ae235b
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
Packit ae235b
<link rel="home" href="index.html" title="GIO Reference Manual">
Packit ae235b
<link rel="up" href="streaming.html" title="Streaming I/O">
Packit ae235b
<link rel="prev" href="GFileIOStream.html" title="GFileIOStream">
Packit ae235b
<link rel="next" href="GFilterInputStream.html" title="GFilterInputStream">
Packit ae235b
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
Packit ae235b
<link rel="stylesheet" href="style.css" type="text/css">
Packit ae235b
</head>
Packit ae235b
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit ae235b
Packit ae235b
Packit ae235b
Top  | 
Packit ae235b
                  Description  | 
Packit ae235b
                  Object Hierarchy  | 
Packit ae235b
                  Prerequisites  | 
Packit ae235b
                  Known Implementations
Packit ae235b
Packit ae235b
Home
Packit ae235b
Up
Packit ae235b
Prev
Packit ae235b
Next
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

GFileDescriptorBased

Packit ae235b

GFileDescriptorBased — Interface for file descriptor based IO

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Functions

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
int
Packit ae235b
Packit ae235b
Packit ae235b
g_file_descriptor_based_get_fd ()
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Types and Values

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
 
Packit ae235b
GFileDescriptorBased
Packit ae235b
Packit ae235b
Packit ae235b
struct
Packit ae235b
GFileDescriptorBasedIface
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Object Hierarchy

Packit ae235b
    GInterface
Packit ae235b
    ╰── GFileDescriptorBased
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Prerequisites

Packit ae235b

Packit ae235b
GFileDescriptorBased requires
Packit ae235b
 GObject.

Packit ae235b
Packit ae235b
Packit ae235b

Known Implementations

Packit ae235b

Packit ae235b
GFileDescriptorBased is implemented by
Packit ae235b
 GUnixInputStream and  GUnixOutputStream.

Packit ae235b
Packit ae235b
Packit ae235b

Includes

Packit ae235b
#include <gio/gfiledescriptorbased.h>
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Description

Packit ae235b

GFileDescriptorBased is implemented by streams (implementations of

Packit ae235b
GInputStream or GOutputStream) that are based on file descriptors.

Packit ae235b

Note that &lt;gio/gfiledescriptorbased.h> belongs to the UNIX-specific

Packit ae235b
GIO interfaces, thus you have to use the gio-unix-2.0.pc pkg-config
Packit ae235b
file when using it.

Packit ae235b
Packit ae235b
Packit ae235b

Functions

Packit ae235b
Packit ae235b

g_file_descriptor_based_get_fd ()

Packit ae235b
int
Packit ae235b
g_file_descriptor_based_get_fd (GFileDescriptorBased *fd_based);
Packit ae235b

Gets the underlying file descriptor.

Packit ae235b
Packit ae235b

Parameters

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

fd_based

Packit ae235b

a GFileDescriptorBased.

Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Returns

Packit ae235b

The file descriptor

Packit ae235b
Packit ae235b

Since: 2.24

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Types and Values

Packit ae235b
Packit ae235b

GFileDescriptorBased

Packit ae235b
typedef struct _GFileDescriptorBased GFileDescriptorBased;
Packit ae235b

An interface for file descriptor based io objects.

Packit ae235b
Packit ae235b

Packit ae235b
Packit ae235b

struct GFileDescriptorBasedIface

Packit ae235b
struct GFileDescriptorBasedIface {
Packit ae235b
  GTypeInterface g_iface;
Packit ae235b
Packit ae235b
  /* Virtual Table */
Packit ae235b
  int (*get_fd) (GFileDescriptorBased *fd_based);
Packit ae235b
};
Packit ae235b
Packit ae235b

An interface for file descriptor based io objects.

Packit ae235b
Packit ae235b

Members

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

get_fd ()

Packit ae235b

Gets the underlying file descriptor.

Packit ae235b
 
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

See Also

Packit ae235b

GInputStream, GOutputStream

Packit ae235b
Packit ae235b
Packit ae235b
Packit ae235b

Generated by GTK-Doc V1.27
Packit ae235b
</body>
Packit ae235b
</html>