xref: /illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/posix_utilities.h (revision dd72704bd9e794056c558153663c739e2012d721)
1 //
2 //  posix_utilities.h
3 //  mDNSResponder
4 //
5 //  Copyright (c) 2019 Apple Inc. All rights reserved.
6 //
7 
8 #ifndef posix_utilities_h
9 #define posix_utilities_h
10 
11 #include "mDNSEmbeddedAPI.h"
12 
13 // timestamp format: "2008-08-08 20:00:00.000000+0800", a 64-byte buffer is enough to store the result
14 extern void getLocalTimestamp(char * const buffer, mDNSu32 buffer_len);
15 
16 #endif /* posix_utilities_h */
17