l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Apr 17 19:41

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
RE: [vox-tech] a better scanf?? (C-programming question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [vox-tech] a better scanf?? (C-programming question)

Title: Message
Thank you! The link is very helpful!!
-----Original Message-----
From: vox-tech-admin@lists.lugod.org [mailto:vox-tech-admin@lists.lugod.org]On Behalf Of Ryan
Sent: Thursday, April 17, 2003 12:25 PM
To: vox-tech@lists.lugod.org
Subject: Re: [vox-tech] a better scanf?? (C-programming question)

there is a getch() you can use from ncurses, otherwise
See if this link helps
----- Original Message -----
Sent: Thursday, April 17, 2003 11:42 AM
Subject: [vox-tech] a better scanf?? (C-programming question)

Hello all,
Does anyone know of a better input mechanism from stdin than scanf?? I need the functionality of scanf, without stopping the program flow. In other words, is there a function that will store any keyboard info into a buffer, and then continue with the program until next time the loop executes and it sees what (if anything) has been put into the buffer, and stores the buffer contents once the carriage return is input??
I basically need a scanf that doesn't halt the program?? The only thing I have found is "bioskey" but I think that that is only in a dos environment??
Does anyone know how to do this in linux??

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!