Add the getdate(3) function and getdate_err value, conforming to IEEEStd 1003.1 (``POSIX.1'') and the Open Group Base Specifications X/OpenSystem Interfaces extension (``XSI'').