mirror of https://github.com/mkerrisk/man-pages
getgroups.2, getrlimit.2, ioctl_ficlonerange.2, ioctl_fideduperange.2, semop.2, difftime.3, getpw.3, malloc_hook.3, mbrtowc.3, newlocale.3, offsetof.3, pthread_tryjoin_np.3, rand.3, rtnetlink.3, setbuf.3, strtol.3, fuse.4, feature_test_macros.7, pkeys.7: ffix: fix mismatched .EX/.EE tags
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9bc87ed07a
commit
b9c93deb3d
|
@ -174,9 +174,9 @@ The maximum number of supplementary group IDs can be found at run time using
|
||||||
.EX
|
.EX
|
||||||
long ngroups_max;
|
long ngroups_max;
|
||||||
ngroups_max = sysconf(_SC_NGROUPS_MAX);
|
ngroups_max = sysconf(_SC_NGROUPS_MAX);
|
||||||
..EE
|
|
||||||
.in
|
|
||||||
.EE
|
.EE
|
||||||
|
.in
|
||||||
|
.PP
|
||||||
The maximum return value of
|
The maximum return value of
|
||||||
.BR getgroups ()
|
.BR getgroups ()
|
||||||
cannot be larger than one more than this value.
|
cannot be larger than one more than this value.
|
||||||
|
|
|
@ -815,7 +815,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
.EX
|
.EE
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR prlimit (1),
|
.BR prlimit (1),
|
||||||
.BR dup (2),
|
.BR dup (2),
|
||||||
|
|
|
@ -73,7 +73,7 @@ struct file_clone_range {
|
||||||
__u64 src_length;
|
__u64 src_length;
|
||||||
__u64 dest_offset;
|
__u64 dest_offset;
|
||||||
};
|
};
|
||||||
.EX
|
.EE
|
||||||
.in
|
.in
|
||||||
.PP
|
.PP
|
||||||
Clones are atomic with regards to concurrent writes, so no locks need to be
|
Clones are atomic with regards to concurrent writes, so no locks need to be
|
||||||
|
|
|
@ -66,7 +66,7 @@ struct file_dedupe_range {
|
||||||
__u32 reserved2;
|
__u32 reserved2;
|
||||||
struct file_dedupe_range_info info[0];
|
struct file_dedupe_range_info info[0];
|
||||||
};
|
};
|
||||||
.EX
|
.EE
|
||||||
.in
|
.in
|
||||||
.PP
|
.PP
|
||||||
Deduplication is atomic with regards to concurrent writes, so no locks need to
|
Deduplication is atomic with regards to concurrent writes, so no locks need to
|
||||||
|
|
|
@ -64,8 +64,8 @@ unsigned short semval; /* semaphore value */
|
||||||
unsigned short semzcnt; /* # waiting for zero */
|
unsigned short semzcnt; /* # waiting for zero */
|
||||||
unsigned short semncnt; /* # waiting for increase */
|
unsigned short semncnt; /* # waiting for increase */
|
||||||
pid_t sempid; /* PID of process that last
|
pid_t sempid; /* PID of process that last
|
||||||
.in -4n
|
.in
|
||||||
.fi
|
.EE
|
||||||
.PP
|
.PP
|
||||||
.BR semop ()
|
.BR semop ()
|
||||||
performs operations on selected semaphores in the set indicated by
|
performs operations on selected semaphores in the set indicated by
|
||||||
|
|
|
@ -68,7 +68,7 @@ define
|
||||||
.in +4n
|
.in +4n
|
||||||
.EX
|
.EX
|
||||||
#define difftime(t1,t0) (double)(t1 \- t0)
|
#define difftime(t1,t0) (double)(t1 \- t0)
|
||||||
.EX
|
.EE
|
||||||
.in
|
.in
|
||||||
.PP
|
.PP
|
||||||
when the possible overflow in the subtraction is not a concern.
|
when the possible overflow in the subtraction is not a concern.
|
||||||
|
|
|
@ -48,7 +48,7 @@ the given user ID \fIuid\fP in the buffer \fIbuf\fP.
|
||||||
The returned buffer contains a line of format
|
The returned buffer contains a line of format
|
||||||
.PP
|
.PP
|
||||||
.in +4n
|
.in +4n
|
||||||
.EE
|
.EX
|
||||||
.B name:passwd:uid:gid:gecos:dir:shell
|
.B name:passwd:uid:gid:gecos:dir:shell
|
||||||
.EE
|
.EE
|
||||||
.in
|
.in
|
||||||
|
|
|
@ -138,7 +138,7 @@ my_malloc_hook(size_t size, const void *caller)
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
.EX
|
.EE
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR mallinfo (3),
|
.BR mallinfo (3),
|
||||||
.BR malloc (3),
|
.BR malloc (3),
|
||||||
|
|
|
@ -145,7 +145,7 @@ can be initialized to the initial state
|
||||||
by zeroing it, for example using
|
by zeroing it, for example using
|
||||||
.PP
|
.PP
|
||||||
.in +4n
|
.in +4n
|
||||||
.EE
|
.EX
|
||||||
memset(&a, 0, sizeof(a));
|
memset(&a, 0, sizeof(a));
|
||||||
.EE
|
.EE
|
||||||
.in
|
.in
|
||||||
|
|
|
@ -296,7 +296,8 @@ New Zealand Māori):
|
||||||
$ LC_ALL=mi_NZ ./a.out fr_FR ""
|
$ LC_ALL=mi_NZ ./a.out fr_FR ""
|
||||||
123456,789
|
123456,789
|
||||||
Te Paraire, te 07 o Poutū-te-rangi, 2014 00:38:44 CET
|
Te Paraire, te 07 o Poutū-te-rangi, 2014 00:38:44 CET
|
||||||
.fi
|
.EE
|
||||||
|
.in
|
||||||
.SS Program source
|
.SS Program source
|
||||||
.EX
|
.EX
|
||||||
#define _XOPEN_SOURCE 700
|
#define _XOPEN_SOURCE 700
|
||||||
|
|
|
@ -72,7 +72,8 @@ options, the program below produces the following output:
|
||||||
.RB "$" " ./a.out"
|
.RB "$" " ./a.out"
|
||||||
offsets: i=0; c=4; d=8 a=16
|
offsets: i=0; c=4; d=8 a=16
|
||||||
sizeof(struct s)=16
|
sizeof(struct s)=16
|
||||||
.fi
|
.EE
|
||||||
|
.in
|
||||||
.SS Program source
|
.SS Program source
|
||||||
\&
|
\&
|
||||||
.EX
|
.EX
|
||||||
|
|
|
@ -155,7 +155,7 @@ s = pthread_timedjoin_np(thread, NULL, &ts);
|
||||||
if (s != 0) {
|
if (s != 0) {
|
||||||
/* Handle error */
|
/* Handle error */
|
||||||
}
|
}
|
||||||
.EX
|
.EE
|
||||||
.in
|
.in
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR clock_gettime (2),
|
.BR clock_gettime (2),
|
||||||
|
|
|
@ -232,7 +232,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
.EX
|
.EE
|
||||||
.in
|
.in
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR drand48 (3),
|
.BR drand48 (3),
|
||||||
|
|
|
@ -119,7 +119,7 @@ req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) +
|
||||||
RTA_LENGTH(sizeof(mtu));
|
RTA_LENGTH(sizeof(mtu));
|
||||||
memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));
|
memcpy(RTA_DATA(rta), &mtu, sizeof(mtu));
|
||||||
send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);
|
send(rtnetlink_sk, &req, req.nh.nlmsg_len, 0);
|
||||||
.EX
|
.EE
|
||||||
.in
|
.in
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR netlink (3),
|
.BR netlink (3),
|
||||||
|
|
|
@ -213,7 +213,7 @@ main(void)
|
||||||
printf("Hello, world!\\n");
|
printf("Hello, world!\\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
.PP
|
.EE
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR stdbuf (1),
|
.BR stdbuf (1),
|
||||||
.BR fclose (3),
|
.BR fclose (3),
|
||||||
|
|
|
@ -204,9 +204,9 @@ BSD also has
|
||||||
.in +4n
|
.in +4n
|
||||||
.EX
|
.EX
|
||||||
.BI "quad_t strtoq(const char *" nptr ", char **" endptr ", int " base );
|
.BI "quad_t strtoq(const char *" nptr ", char **" endptr ", int " base );
|
||||||
.EX
|
|
||||||
.EE
|
.EE
|
||||||
.in
|
.in
|
||||||
|
.PP
|
||||||
with completely analogous definition.
|
with completely analogous definition.
|
||||||
Depending on the wordsize of the current architecture, this
|
Depending on the wordsize of the current architecture, this
|
||||||
may be equivalent to
|
may be equivalent to
|
||||||
|
|
|
@ -521,7 +521,7 @@ The FUSE filesystem is Linux-specific.
|
||||||
The following messages are not yet documented in this manual page:
|
The following messages are not yet documented in this manual page:
|
||||||
.\" FIXME: Document the following.
|
.\" FIXME: Document the following.
|
||||||
.in +8n
|
.in +8n
|
||||||
.nf
|
.EX
|
||||||
.BR FUSE_BATCH_FORGET
|
.BR FUSE_BATCH_FORGET
|
||||||
.BR FUSE_BMAP
|
.BR FUSE_BMAP
|
||||||
.BR FUSE_CREATE
|
.BR FUSE_CREATE
|
||||||
|
|
|
@ -65,7 +65,7 @@ manual page):
|
||||||
.PP
|
.PP
|
||||||
.BI "int acct(const char *" filename );
|
.BI "int acct(const char *" filename );
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.EX
|
||||||
.in -4n
|
.in -4n
|
||||||
Feature Test Macro Requirements for glibc (see
|
Feature Test Macro Requirements for glibc (see
|
||||||
.BR feature_test_macros (7)):
|
.BR feature_test_macros (7)):
|
||||||
|
|
|
@ -288,6 +288,7 @@ main(void)
|
||||||
|
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
.EE
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR pkey_alloc (2),
|
.BR pkey_alloc (2),
|
||||||
.BR pkey_free (2),
|
.BR pkey_free (2),
|
||||||
|
|
Loading…
Reference in New Issue