6 |
* |
* |
7 |
* Loads the console font, and possibly the corresponding screen map(s). |
* Loads the console font, and possibly the corresponding screen map(s). |
8 |
* (Adapted for busybox by Matej Vela.) |
* (Adapted for busybox by Matej Vela.) |
9 |
|
* |
10 |
|
* Licensed under GPLv2, see file LICENSE in this tarball for details. |
11 |
*/ |
*/ |
12 |
#include "libbb.h" |
#include "libbb.h" |
13 |
#include <sys/kd.h> |
#include <sys/kd.h> |
277 |
opts = getopt32(argv, "m:C:", &mapfilename, &tty_name); |
opts = getopt32(argv, "m:C:", &mapfilename, &tty_name); |
278 |
argv += optind; |
argv += optind; |
279 |
|
|
280 |
fd = xopen(tty_name, O_NONBLOCK); |
fd = xopen_nonblocking(tty_name); |
281 |
|
|
282 |
if (sizeof(CONFIG_DEFAULT_SETFONT_DIR) > 1) { // if not "" |
if (sizeof(CONFIG_DEFAULT_SETFONT_DIR) > 1) { // if not "" |
283 |
if (*argv[0] != '/') { |
if (*argv[0] != '/') { |