nanogui: My newbee question of the day ...


Previous by date: 28 Apr 2000 00:28:20 -0000 Re: compilation problem, microwindows, uClinux, mc68ez328, Greg Haerr
Next by date: 28 Apr 2000 00:28:20 -0000 Re: My newbee question of the day ..., Ben Pfaff
Previous in thread:
Next in thread: 28 Apr 2000 00:28:20 -0000 Re: My newbee question of the day ..., Ben Pfaff

Subject: My newbee question of the day ...
From: Martin Jolicoeur ####@####.####
Date: 28 Apr 2000 00:28:20 -0000
Message-Id: <3908D8F0.152213F7@visuaide.com>

Hi guys,

Anybody can tell me what this code snip does exactly (taken from fb_open
in src_fb.c)

Actually, what is this ioctl doing *exactly* ?

 /* open tty, enter graphics mode*/
 tty = open ("/dev/tty0", O_RDWR);
 if(tty < 0) {
  failmsg("can't open /dev/tty0: %m");
  goto fail;
 }
 if(ioctl (tty, KDSETMODE, KD_GRAPHICS) == -1) {
  failmsg("setting graphics mode: %m");
  close(tty);
  goto fail;
 }
 close(tty);


Thanks,

Martin Jolicoeur
GVT Project
####@####.####


Previous by date: 28 Apr 2000 00:28:20 -0000 Re: compilation problem, microwindows, uClinux, mc68ez328, Greg Haerr
Next by date: 28 Apr 2000 00:28:20 -0000 Re: My newbee question of the day ..., Ben Pfaff
Previous in thread:
Next in thread: 28 Apr 2000 00:28:20 -0000 Re: My newbee question of the day ..., Ben Pfaff


Powered by ezmlm-browse 0.20.