flushall() function is ued to clear the buffer in ansi C.
in linux flushall() is showing error.(undefined reference )
In linux which function will do the work of flushall() function in C?
flushall is not ANSI C.
For linux, maybe fpurge and __fpurge are what you are looking for?
Reply:Good places to post LINUX questions:
Reply:C is a programming language
Linux is a operating system
you won't have the same function.... :s
there's no output buffer to flush in a operating system.
sundew
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment