! *\brief ���õȴ���д��.һ�����д�������߱��ź��жϲŷ���. *\param iOffset int, ����ƫ����. *\param iLen int ,�����ֽ���. *\param iWhence int, ������ʼλ��. *\retval �ɹ�����true��ʧ�ܷ���false *\note return false when interupt by singal. */
| 159 | *\note return false when interupt by singal. |
| 160 | */ |
| 161 | inline bool WriteLockW(int iOffset, int iLen = 1, int iWhence = SEEK_SET) { |
| 162 | return Fcntl(F_SETLKW, F_WRLCK, iOffset, iLen, iWhence); |
| 163 | } |
| 164 | |
| 165 | /*! |
| 166 | *\brief WriteLockW()���ļ��汾. |
nothing calls this directly
no outgoing calls
no test coverage detected