Home
last modified time | relevance | path

Searched refs:pMI (Results 1 – 2 of 2) sorted by relevance

/trueos/contrib/ntp/libopts/
HDtext_mmap.c80 text_mmap( char const* pzFile, int prot, int flags, tmap_info_t* pMI ) in text_mmap() argument
82 memset( pMI, 0, sizeof(*pMI) ); in text_mmap()
84 pMI->txt_zero_fd = -1; in text_mmap()
86 pMI->txt_fd = -1; in text_mmap()
94 pMI->txt_errno = errno; in text_mmap()
99 pMI->txt_errno = errno = EINVAL; in text_mmap()
103 pMI->txt_size = sb.st_size; in text_mmap()
129 pMI->txt_fd = open( pzFile, o_flag ); in text_mmap()
132 if (pMI->txt_fd == AO_INVALID_FD) { in text_mmap()
133 pMI->txt_errno = errno; in text_mmap()
[all …]
/trueos/contrib/ntp/sntp/libopts/
HDtext_mmap.c80 text_mmap( char const* pzFile, int prot, int flags, tmap_info_t* pMI ) in text_mmap() argument
82 memset( pMI, 0, sizeof(*pMI) ); in text_mmap()
84 pMI->txt_zero_fd = -1; in text_mmap()
86 pMI->txt_fd = -1; in text_mmap()
94 pMI->txt_errno = errno; in text_mmap()
99 pMI->txt_errno = errno = EINVAL; in text_mmap()
103 pMI->txt_size = sb.st_size; in text_mmap()
129 pMI->txt_fd = open( pzFile, o_flag ); in text_mmap()
132 if (pMI->txt_fd == AO_INVALID_FD) { in text_mmap()
133 pMI->txt_errno = errno; in text_mmap()
[all …]