To read the current file position value from a descriptor, use lseek (desc, 0, SEEK_CUR) . Function off_t lseek (int filedes, off_t offset, ... For example,.
確定! 回上一頁