Mail Archives: cygwin/1996/12/04/18:02:20
Hi all, I just wrote:
: I need timers urgent, too.
which reminds me about reporting some other problems I found.
I try rename() on a potentially nonexisting file and test for ENOENT, but it
does not set errno, which remains zero, so my program bombs out.
The return values from times() seems okay, but the fields tms_utime and
tms_stime of the struct tms contain garbage, since a newly started process
got a CPU usage of about 266000 seconds. Under Unix I always get near zero.
It is my understanding that the return value is only meaningful when taken
as the difference to a previously obtained value, but that should not hold
for the resource usages.
The first link attempt failed missing ntohl, ntohs, htonl and htons.
When compiling with optimization, they are handled by asm/byteorder.h,
but then floating numbers are hosed. Maybe there should be a #else clause
for the #ifdef __OPTIMIZE__. I got around it by packing __constant_ntohl
and the others wrapped as functions into an extra file.
BTW, it would be nice in gdb to be able to attach and detach to running
processes as under hp-ux, but that's low priority for me.
Bye, Heribert (dahms AT ifk20 DOT mach DOT uni-karlsruhe DOT de)
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -