mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
f7012583e9
Silence a few more warnings. Strip down the mkfiles more. Fix bug in X11 mouse handling, note groups.
20 lines
289 B
C
20 lines
289 B
C
/*
|
|
* stupid little program to pipe unicode chars through
|
|
* when converting to non-utf compilers.
|
|
*/
|
|
#include <u.h>
|
|
#include <libc.h>
|
|
#include <bio.h>
|
|
|
|
Biobuf bin;
|
|
|
|
void
|
|
main(void)
|
|
{
|
|
int c;
|
|
|
|
Binit(&bin, 0, OREAD);
|
|
while((c = Bgetrune(&bin)) >= 0)
|
|
print("0x%ux\n", c);
|
|
exits(0);
|
|
}
|