! *\brief ��д��.���û�м����ɹ������߱��ź��жϣ�����������false. *\param iOffset int , ����ƫ����. *\param iLen int, �����ֽ���. *\param iWhence int������ʼλ��. *\retval �true:�ɹ�,false:ʧ��. *\note return false when interupt by singal. */
| 123 | *\note return false when interupt by singal. |
| 124 | */ |
| 125 | inline bool WriteLock(int iOffset, int iLen = 1, int iWhence = SEEK_SET) { |
| 126 | return Fcntl(F_SETLK, F_WRLCK, iOffset, iLen, iWhence); |
| 127 | } |
| 128 | |
| 129 | /*! |
| 130 | *\brief WriteLock���ļ��汾. |
nothing calls this directly
no outgoing calls
no test coverage detected