* Copyright (C) 1992, 1993 Søren Schmidt
* This program is free software; you may redistribute it and/or
* modify it, provided that it retain the above copyright notice
* and the following disclaimer.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* Søren Schmidt Email: sos@kmd-ac.dk
* Tritonvej 36 UUCP: ...uunet!dkuug!kmd-ac!sos
* DK9210 Aalborg SO Phone: +45 9814 8076
#include <machine/console.h>
main(int argc
, char **argv
)
fd
= fopen(argv
[1], "w");
printf("%s: cannot create file\n", argv
[0]);
fwrite(&keymap
, sizeof(keymap_t
), 1, fd
);
printf("usage: mkkbdfil <mapfile>\n");