On 28 October 2015 at 10:12, Paul Gilmartin <[email protected]> wrote: > (Cross-posting) > > In the Assembler Callable Services Reference, I find no analogue > of the C/C++ time() function. Is there one? Am I looking in the > wrong place? Is the programmer expected simply to use the C Library > interface to call the C function?
I think the Assembler Callable Services documents UNIX kernel calls, and it's not obvious to me that C/C++ time() implies such a call. It is certainly the case that the C/C++ RTL contains many functions that are not UNIX kernel calls, and have no Assembler Callable Services equivalents or even analogues. There are also functions documented in the C/C++ RTL that do imply kernel calls, but which have no similarly named function in the Assembler Callable Services. In these cases the C/C++ function is synthesized from one or more documented kernel calls. An example of this is strerror(). Tony H.
