Home
last modified time | relevance | path

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

/coreutils/src/
Dmkfifo.c77 mode_t newmode; in main() local
151 newmode = MODE_RW_UGO; in main()
160 newmode = mode_adjust (newmode, false, umask_value, change, nullptr); in main()
162 if (newmode & ~S_IRWXUGO) in main()
171 if (mkfifo (argv[optind], newmode) != 0) in main()
176 else if (specified_mode && lchmod (argv[optind], newmode) != 0) in main()
Dmknod.c93 mode_t newmode; in main() local
148 newmode = MODE_RW_UGO; in main()
157 newmode = mode_adjust (newmode, false, umask_value, change, nullptr); in main()
159 if (newmode & ~S_IRWXUGO) in main()
256 if (mknod (argv[optind], newmode | node_type, device) != 0) in main()
264 if (mkfifo (argv[optind], newmode) != 0) in main()
273 if (specified_mode && lchmod (argv[optind], newmode) != 0) in main()