.B #include <linux/unistd.h>
.sp
.BI "void exit_group(int " status );
+.fi
.SH DESCRIPTION
This system call is equivalent to
.BR exit (2)
.\" FIXME . eventually this #include will probably be something
.\" different when support is added in glibc.
.B #include <linux/falloc.h>
-.PP
+
.BI "long fallocate(int " fd ", int " mode ", loff_t " offset \
", loff_t " len ");
+.fi
.\" FIXME . check later what feature text macros are required in glibc
.SH DESCRIPTION
.BR fallocate ()
unsigned short d_reclen; /* length of this \fIdirent\fP */
char d_name [NAME_MAX+1]; /* filename (null-terminated) */
}
+.fi
.in
-.RE
.PP
.I d_ino
is an inode number.
0x00005402 SNDCTL_TMR_START TCSETS
0x00005403 SNDCTL_TMR_STOP TCSETSW
0x00005404 SNDCTL_TMR_CONTINUE TCSETSF
+.fi
.SH SEE ALSO
.BR ioctl (2)
.sp
.BI "long nfsservctl(int " cmd ", struct nfsctl_arg *" argp ,
.BI " union nfsctl_res *" resp );
+.fi
.SH DESCRIPTION
.nf
/*
In glibc 2.3.3, the
.I cpusetsize
argument was removed, but this argument was restored in glibc 2.3.4.
-.fi
.SH "CONFORMING TO"
These system calls are Linux specific.
.SH "NOTES"
.B #include <linux/unistd.h>
.sp
.BI "long set_tid_address(int *" tidptr );
+.fi
.SH DESCRIPTION
The kernel keeps for each process two values called
.I set_child_tid
.BR "#include <ustat.h>" " /* glibc2 */"
.sp
.BI "int ustat(dev_t " dev ", struct ustat *" ubuf );
+.fi
.SH DESCRIPTION
.BR ustat ()
returns information about a mounted file system.
.I ubuf
is a pointer to a \fIustat\fP structure that contains the following
members:
-.RS
+.in +4n
.nf
daddr_t f_tfree; /* Total free blocks */
char f_fname[6]; /* Filsys name */
char f_fpack[6]; /* Filsys pack name */
.fi
-.RE
+.in
.PP
The last two fields,
.I f_fname
argz_next, argz_replace, argz_stringify \- functions to handle an argz list
.SH SYNOPSIS
.nf
-.sp
.B "#include <argz.h>"
.sp
.BI "error_t argz_add(char **" argz ", size_t *" argz_len \
.BI "const char *" with ", unsigned int *" replace_count );
.sp
.BI "void argz_stringify(char *" argz ", size_t " len ", int " sep );
+.fi
.SH DESCRIPTION
These functions are glibc-specific.
.LP
abort();
confstr(_CS_PATH, pathbuf, n);
.in
+.fi
.SH "SEE ALSO"
.BR sh (1),
.BR exec (3),
", const char *" name );
.sp
.BI "void envz_strip(char **" envz ", size_t *" envz_len );
+.fi
.SH DESCRIPTION
These functions are glibc-specific.
.LP
.sp
.BI "ssize_t getline(char **" lineptr ", size_t *" n ", FILE *" stream );
-.BI "ssize_t getdelim(char **" lineptr ", size_t *" n ", int " delim ", FILE *" stream );
+.BI "ssize_t getdelim(char **" lineptr ", size_t *" n ", int " delim \
+", FILE *" stream );
+.fi
.SH DESCRIPTION
.BR getline ()
reads an entire line from \fIstream\fP,
.TP
.I /etc/passwd
local password database file
-.fi
.SH "CONFORMING TO"
SVr4, 4.3BSD, POSIX.1-2001
.SH NOTES
.BI "char *gets(char *" "s" );
.BI "int ungetc(int " c ", FILE *" stream );
+.fi
.SH DESCRIPTION
.BR fgetc ()
reads the next character from
.BI "int getw(FILE *" stream );
.BI "int putw(int " w ", FILE *" stream );
+.fi
.SH DESCRIPTION
.BR getw ()
reads a word (that is, an \fIint\fP) from \fIstream\fP.
.sp
.BI "const char *inet_ntop(int " "af" ", const void *" "src" ,
.BI " char *" "dst" ", socklen_t " "cnt" );
+.fi
.SH DESCRIPTION
This function converts the network address structure
.I src
.B #include <sys/types.h>
.B #include <sys/socket.h>
.B #include <arpa/inet.h>
-.sp
+
.BI "int inet_pton(int " "af" ", const char *" "src" ", void *" "dst" );
+.fi
.SH DESCRIPTION
This function converts the character string
.I src
On a Linux/x86 system, when compiled using the default
.BR gcc (1)
options, the program below produces the following output:
-.fi
+.nf
$ ./a.out
offsets: i=0; c=4; d=8 a=16
sizeof(struct s)=16
-.nf
+.fi
.nf
#include <stddef.h>
#include <stdio.h>
.in +4n
.nf
struct consolefontdesc {
- unsigned short charcount; /* characters in font (256 or 512) */
- unsigned short charheight; /* scan lines per character (1-32) */
- char *chardata; /* font data in expanded form */
+ unsigned short charcount; /* characters in font
+ (256 or 512) */
+ unsigned short charheight; /* scan lines per
+ character (1-32) */
+ char *chardata; /* font data in
+ expanded form */
};
.fi
.in
unsigned char base;
unsigned char result;
};
+.fi
.in
.IP \fBKDGETKEYCODE\fP
Read kernel keycode table entry (scan code to keycode).
struct vt_consize {
unsigned short v_rows; /* number of rows */
unsigned short v_cols; /* number of columns */
- unsigned short v_vlin; /* number of pixel rows on screen */
- unsigned short v_clin; /* number of pixel rows per character */
- unsigned short v_vcol; /* number of pixel columns on screen */
- unsigned short v_ccol; /* number of pixel columns per character */
+ unsigned short v_vlin; /* number of pixel rows
+ on screen */
+ unsigned short v_clin; /* number of pixel rows
+ per character */
+ unsigned short v_vcol; /* number of pixel columns
+ on screen */
+ unsigned short v_ccol; /* number of pixel columns
+ per character */
};
.fi
.in
Boolean: :bs:\e
Numeric: :co#80:\e
String: :sr=\eE[H:\e
+.fi
.SS "Boolean Capabilities"
.nf
5i Printer will not echo on screen
076 62 3E > 176 126 7E ~
077 63 3F ? 177 127 7F DEL
.TE
-.fi
.if t \{\
.in
.ft P
.SH SYNOPSIS
.nf
.B #include <features.h>
+.fi
.SH DESCRIPTION
Feature test macros allow the programmer to control the definitions that
are exposed by system header files when a program is compiled.
.SH SYNOPSIS
.nf
.B #include <asm/types.h>
-.br
.B #include <sys/socket.h>
-.br
.B #include <linux/netlink.h>
-.br
-.PP
+
.BI "netlink_socket = socket(PF_NETLINK, " socket_type ", " netlink_family );
+.fi
.SH DESCRIPTION
Netlink is used to transfer information between kernel and
userspace processes.
.TH OPERATOR 7 2007-12-08 "Linux" "Linux Programmer's Manual"
.SH NAME
C operator \- C operator precedence and order of evaluation
-.fi
.SH DESCRIPTION
This manual page lists C operators and their precedence in evaluation.
.nf
svipc \- System V interprocess communication mechanisms
.SH SYNOPSIS
.nf
-.B
-#include <sys/types.h>
-.B
-#include <sys/ipc.h>
-.B
-#include <sys/msg.h>
-.B
-#include <sys/sem.h>
-.B
-#include <sys/shm.h>
+.B #include <sys/types.h>
+.B #include <sys/ipc.h>
+.B #include <sys/msg.h>
+.B #include <sys/sem.h>
+.B #include <sys/shm.h>
+.fi
.SH DESCRIPTION
This manual page refers to the Linux implementation of the System V
interprocess communication mechanisms: