! *\brief ���õȴ��Ķ���.һ����ö��������߱��ź��жϲŷ���. *\param iOffset int ,����ƫ����. *\param iLen int, �����ֽ���. *\param iWhence int ,SEEK_XXX,������ʼλ��. *\retval true:�ɹ�,false:ʧ��. *\note return false when interupt by singal. */
| 141 | *\note return false when interupt by singal. |
| 142 | */ |
| 143 | inline bool ReadLockW(int iOffset, int iLen = 1, int iWhence = SEEK_SET) { |
| 144 | return Fcntl(F_SETLKW, F_RDLCK, iOffset, iLen, iWhence); |
| 145 | } |
| 146 | |
| 147 | /*! |
| 148 | * |
nothing calls this directly
no outgoing calls
no test coverage detected