Liste des Groupes | Revenir à cl c |
wij <wyniijj5@gmail.com> writes:In recent revision of libwy (a C++ library that wraps Clib functions), I feel
the so called 'graphics' can be a file descriptor.
A file *descriptor* is a small integer referring to some file-like
entity, used with open/close/read/write. There's no such thing in
standard C; it's a POSIX concept.
I don't think you're actually working with file descriptors, though it's
hard to tell.
if((r=popen(GrSvr,cpid,frd,fwr))!=Ok) {
WY_THROW(r);
}
popen() is a POSIX function. It takes two arguments, not four.
The code you posted is C++. Why are you posting it to comp.lang.c?
[...]
Les messages affichés proviennent d'usenet.