mirror of https://github.com/mkerrisk/man-pages
random.4, sk98lin.4, vcs.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a2b7a14421
commit
010c75a2bb
|
@ -293,13 +293,15 @@ which only adds some
|
||||||
data but does not increment the entropy count.
|
data but does not increment the entropy count.
|
||||||
The following structure is used:
|
The following structure is used:
|
||||||
.IP
|
.IP
|
||||||
.nf
|
.in +4n
|
||||||
struct rand_pool_info {
|
.EX
|
||||||
int entropy_count;
|
struct rand_pool_info {
|
||||||
int buf_size;
|
int entropy_count;
|
||||||
__u32 buf[0];
|
int buf_size;
|
||||||
};
|
__u32 buf[0];
|
||||||
.fi
|
};
|
||||||
|
.EE
|
||||||
|
.in
|
||||||
.IP
|
.IP
|
||||||
Here
|
Here
|
||||||
.I entropy_count
|
.I entropy_count
|
||||||
|
|
|
@ -412,8 +412,8 @@ ConType | DupCap AutoNeg FlowCtrl Role Speed
|
||||||
\fI10FD\fP | Full Off None Auto 10
|
\fI10FD\fP | Full Off None Auto 10
|
||||||
.br
|
.br
|
||||||
\fI10HD\fP | Half Off None Auto 10
|
\fI10HD\fP | Half Off None Auto 10
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
|
.IP
|
||||||
Stating any other port parameter together with this
|
Stating any other port parameter together with this
|
||||||
.I ConType
|
.I ConType
|
||||||
parameter will result in a merged configuration of those settings.
|
parameter will result in a merged configuration of those settings.
|
||||||
|
|
20
man4/vcs.4
20
man4/vcs.4
|
@ -79,13 +79,15 @@ administrator can control access using filesystem permissions.
|
||||||
.PP
|
.PP
|
||||||
The devices for the first eight virtual consoles may be created by:
|
The devices for the first eight virtual consoles may be created by:
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.in +4n
|
||||||
for x in 0 1 2 3 4 5 6 7 8; do
|
.EX
|
||||||
mknod \-m 644 /dev/vcs$x c 7 $x;
|
for x in 0 1 2 3 4 5 6 7 8; do
|
||||||
mknod \-m 644 /dev/vcsa$x c 7 $[$x+128];
|
mknod \-m 644 /dev/vcs$x c 7 $x;
|
||||||
done
|
mknod \-m 644 /dev/vcsa$x c 7 $[$x+128];
|
||||||
chown root:tty /dev/vcs*
|
done
|
||||||
.fi
|
chown root:tty /dev/vcs*
|
||||||
|
.EE
|
||||||
|
.in
|
||||||
.PP
|
.PP
|
||||||
No
|
No
|
||||||
.BR ioctl (2)
|
.BR ioctl (2)
|
||||||
|
@ -121,7 +123,7 @@ This program displays the character and screen attributes under the
|
||||||
cursor of the second virtual console, then changes the background color
|
cursor of the second virtual console, then changes the background color
|
||||||
there:
|
there:
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.EX
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -168,7 +170,7 @@ main(void)
|
||||||
(void) write(fd, &attrib, 1);
|
(void) write(fd, &attrib, 1);
|
||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
.fi
|
.EE
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR ioctl_console (2),
|
.BR ioctl_console (2),
|
||||||
.BR tty (4),
|
.BR tty (4),
|
||||||
|
|
Loading…
Reference in New Issue