September 3rd, 2003, 01:13 PM
OS/390 question if anybody knows
I am a systems programmer on OS/390 which basically is derived from UNIX OS, could anybody tell me how I can find out if the time related command "nanotime()" is supported on 390 or not without having to resort to the manuals?
Your input is appreciated
September 3rd, 2003, 01:29 PM
OS/390 is derived from *NIX?? I thought it was derived from IBM's own MVS operating system. For the record, I've only seen the nanotime() function on FreeBSD. It is not present in Linux, OpenBSD or NetBSD, but may be present in OS/390 -- who knows. Have you tried clock_getres() and clock_gettime(), which are present in Linux, FreeBSD, OpenBSD and NetBSD :)
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
September 3rd, 2003, 05:14 PM
Perform a text search for "nanotime" in all the headers in the include files folder (using grep or similar). If a function exists in a library, it will normally be declared in a header.