17 #ifndef _UT_SysClone_h_
18 #define _UT_SysClone_h_
36 static inline void UTclearHostnameCache()
45 int result = gethostname(wbuf.
lock(0, len), len);
46 wbuf.
release(result == 0 ? 1 : 0);
73 #endif // _UT_SysClone_h_
SYS_FORCE_INLINE const char * buffer() const
**But if you need a result
void release(bool recompute_length=false)
char * lock(exint offset=0, exint reserve_bytes=0)
size_t SYSstrlcpy(char *dest, const char *src, size_t size)
UT_API int UTgethostname(UT_String &host)