! *\brief �Ӷ���.���û�м����ɹ������߱��ź��жϣ�����������false. *\param iOffset int, ����ƫ����. *\param iLen int,�����ֽ���. *\param iWhence int, ������ʼλ��. *\retval true:�ɹ���false:ʧ��. * *\note return false when interupt by singal. */
| 105 | *\note return false when interupt by singal. |
| 106 | */ |
| 107 | inline bool ReadLock(int iOffset, int iLen = 1, int iWhence = SEEK_SET) { |
| 108 | return Fcntl(F_SETLK, F_RDLCK, iOffset, iLen, iWhence); |
| 109 | } |
| 110 | |
| 111 | /*! |
| 112 | *\brief ReadLock��ס���ļ��汾. |
nothing calls this directly
no outgoing calls
no test coverage detected