! *\brief ָ���ȴ�ʱ��Ķ���. *\param iOffset int ,����ƫ����. *\param sec int ,�ȴ���ʱ����. *\param iLen int, �����ֽ���. *\param iWhence int , ������ʼλ��. *\retval �ɹ�����true��ʧ�ܷ���false. *\note return false when interupt by singal. */
| 177 | *\note return false when interupt by singal. |
| 178 | */ |
| 179 | inline bool ReadLockTimeOut(int iOffset, int sec, int iLen = 1, int iWhence = SEEK_SET) { |
| 180 | return FcntlTimeOut(F_SETLKW, F_RDLCK, iOffset, iLen, iWhence, sec); |
| 181 | } |
| 182 | |
| 183 | /*! |
| 184 | *\brief ReadLockTimeOut()���ļ��汾. |
nothing calls this directly
no outgoing calls
no test coverage detected