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