Searched defs:mntent (Results 1 - 3 of 3) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/cdrom/linux/
H A DSDL_syscdrom.c62 #include <sys/mntent.h>
64 #include <mntent.h>
190 struct mntent *mntent; local
201 while ( (mntent=getmntent(mntfp)) != NULL ) {
202 mnt_type_len = SDL_strlen(mntent->mnt_type) + 1;
207 mnt_dev_len = SDL_strlen(mntent->mnt_fsname) + 1;
214 SDL_strlcpy(mnt_type, mntent->mnt_type, mnt_type_len);
215 SDL_strlcpy(mnt_dev, mntent->mnt_fsname, mnt_dev_len);
219 tmp = SDL_strstr(mntent
[all...]
/external/ppp/pppd/
H A Dsys-linux.c89 #include <mntent.h>
1388 struct mntent *mntent; local
1397 while ((mntent = getmntent(fp)) != NULL) {
1398 if (strcmp(mntent->mnt_type, MNTTYPE_IGNORE) == 0)
1400 if (strcmp(mntent->mnt_type, "proc") == 0) {
1401 strlcpy(proc_path, mntent->mnt_dir, sizeof(proc_path));
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_posix.cc52 #include <mntent.h>
1024 CHECK_TYPE_SIZE(mntent); variable
1025 CHECK_SIZE_AND_OFFSET(mntent, mnt_fsname);
1026 CHECK_SIZE_AND_OFFSET(mntent, mnt_dir);
1027 CHECK_SIZE_AND_OFFSET(mntent, mnt_type);
1028 CHECK_SIZE_AND_OFFSET(mntent, mnt_opts);
1029 CHECK_SIZE_AND_OFFSET(mntent, mnt_freq);
1030 CHECK_SIZE_AND_OFFSET(mntent, mnt_passno);

Completed in 111 milliseconds