Searched refs:trainVersionCodeByteCount (Results 1 – 1 of 1) sorted by relevance
149 const size_t trainVersionCodeByteCount = sizeof(trainVersionCode); in writeTrainInfo() local150 result = write(fd, &trainVersionCode, trainVersionCodeByteCount); in writeTrainInfo()151 if (result != trainVersionCodeByteCount) { in writeTrainInfo()244 const size_t trainVersionCodeByteCount(sizeof(trainInfo.trainVersionCode)); in readTrainInfo() local245 result = read(fd, &trainInfo.trainVersionCode, trainVersionCodeByteCount); in readTrainInfo()246 if (result != trainVersionCodeByteCount) { in readTrainInfo()