1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Rep Power

    Question OS/390 question if anybody knows

    Hi there,
    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
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Woodland Hills, Los Angeles County, California, USA
    Rep Power
    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
  4. #3
  5. Contributing User

    Join Date
    Aug 2003
    Rep Power
    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.


IMN logo majestic logo threadwatch logo seochat tools logo