⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tzlock.c

📁 cygwin, 著名的在win32下模拟unix操作系统的东东
💻 C
字号:
/*FUNCTION<<__tz_lock>>, <<__tz_unlock>>--lock time zone global variablesINDEX	__tz_lockINDEX	__tz_unlockANSI_SYNOPSIS	#include "local.h"	void __tz_lock (void);	void __tz_unlock (void);TRAD_SYNOPSIS	void __tz_lock();	void __tz_unlock();DESCRIPTIONThe <<tzset>> facility functions call these functions when they needto ensure the values of global variables.  The version of these routines suppliedin the library do not do anything.  If multiple threads of executioncan call the time functions and give up scheduling in the middle, then youyou need to define your own versions of these functions in order tosafely lock the time zone variables during a call.  If you do not, the resultsof <<localtime>>, <<mktime>>, <<ctime>>, and <<strftime>> are undefined.The lock <<__tz_lock>> may not be called recursively; that is,a call <<__tz_lock>> will always lock all subsequent <<__tz_lock>> callsuntil the corresponding <<__tz_unlock>> call on the same thread is made.*/#include <_ansi.h>#include "local.h"_VOID_DEFUN_VOID (__tz_lock){}_VOID_DEFUN_VOID (__tz_unlock){}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -