Searched defs:mode (Results 251 - 275 of 1040) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Diso.multibyte.c295 /* current mode is G1 mode */
311 /* current mode is G0 mode */
422 unsigned short mode; local
443 mode = pwc & G3MASK; /* The mode of this character */
456 switch (mode) {
472 switch (mode) {
620 switch (mode) {
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A D_open.c70 open_com(char *path, int flags, int mode) argument
105 return (_syscall(SYS_openat, AT_FDCWD, locbuf, nflags, mode));
109 return (open_mnt("/etc/mnttab", "mtab", nflags, mode));
112 return (open_mnt("/etc/vfstab", "fstab", nflags, mode));
115 if ((fd = _syscall(SYS_openat, AT_FDCWD, path, nflags, mode))
124 AT_FDCWD, "/var/adm/utmpx", nflags, mode);
132 AT_FDCWD, "/var/adm/wtmpx", nflags, mode);
138 return (_syscall(SYS_openat, AT_FDCWD, path, nflags, mode));
142 open_mnt(char *fname, char *tname, int flags, int mode) argument
297 _fopen(char *file, char *mode) argument
[all...]
/illumos-gate/usr/src/lib/libc/inc/
H A Dbase_conversion.h225 int status, mode; member in struct:__anon2904
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dattrat.c146 xattr_openat(int basefd, xattr_view_t view, int mode) argument
157 oflag = mode & O_RDWR;
163 if (mode & O_XATTR)
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dpos4obj.c58 __open_nc(const char *path, int oflag, mode_t mode) argument
76 val = open64(path, oflag, mode);
289 * to ensure that both open in O_CREAT mode happen atomically.
294 mode_t mode, int *crflag)
307 if ((fd = __open_nc(dfile, oflag, mode)) == -1)
325 if ((fd = __open_nc(dfile, (oflag | O_EXCL), mode)) == -1) {
327 fd = __open_nc(dfile, oflag & ~O_CREAT, mode);
293 __pos4obj_open(const char *name, char *type, int oflag, mode_t mode, int *crflag) argument
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcat.c402 char* mode; local
410 mode = "r";
426 mode = opt_info.num ? "rt" : "r";
523 sfopen(fp, NiL, mode);
525 else if (!(fp = sfopen(NiL, cp, mode)))
H A Dcksum.c52 "[b:binary?Read files in binary mode. This is the default.]"
61 " then the file mode, user and group are also checked. Empty lines,"
74 " mode, user and group between the checksum and path. User and group"
76 " specified then the mode, user and group for each path in \afile\a"
88 "[T:text?Read files in text mode (i.e., treat \b\\r\\n\b as \b\\n\b).]"
128 int permissions; /* include mode,uer,group */
145 * open path for read mode
149 openfile(const char* path, const char* mode) argument
156 sfopen(sp, NiL, mode);
158 else if (!(sp = sfopen(NiL, path, mode)))
264 int mode; local
[all...]
H A Dwclib.c57 Wc_t* wc_init(int mode) argument
68 else if (!(mode & WC_NOUTF8) && (lcinfo(LC_CTYPE)->lc->flags & LC_utf8))
73 w = mode & WC_WORDS;
77 if ((mode & (WC_MBYTE|WC_WORDS)) && wp->mb > 0)
98 wp->mode = mode;
185 if (wp->mb < 0 && (wp->mode & (WC_MBYTE|WC_WORDS)))
230 if (x == -1 && eline != nlines && !(wp->mode & WC_QUIET))
252 if (!(wp->mode & WC_MBYTE))
255 else if (!wp->mb && !(wp->mode
[all...]
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sunoem.c44 uint8_t ic_sls_mode; /* LED mode */
136 uint8_t mode)
148 cmd.ic_sls_mode = mode;
157 uint8_t *mode)
172 return (ipmi_send_sunoem_led_get(ihp, &cmd, mode));
135 ipmi_sunoem_led_set(ipmi_handle_t *ihp, ipmi_sdr_generic_locator_t *dev, uint8_t mode) argument
156 ipmi_sunoem_led_get(ipmi_handle_t *ihp, ipmi_sdr_generic_locator_t *dev, uint8_t *mode) argument
/illumos-gate/usr/src/grub/grub-0.97/stage1/
H A Dstage1.S43 in real mode. */
68 mode: label
191 /* set the mode to non-zero */
252 /* set the mode to zero */
416 * Use BIOS "int 10H Function 0Eh" to write character in teletype mode
/illumos-gate/usr/src/head/
H A Dpkgstrct.h58 mode_t mode; member in struct:ainfo
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tape.c55 static boolean_t validmode(int mode);
114 int mode; local
126 } else if (request->mode != NDMP_TAPE_READ_MODE &&
127 request->mode != NDMP_TAPE_WRITE_MODE &&
128 request->mode != NDMP_TAPE_RAW1_MODE) {
182 * If mode is set to this value, tape_open() won't fail if
185 if (request->mode != NDMP_TAPE_RAW1_MODE &&
192 mode = (request->mode == NDMP_TAPE_READ_MODE) ? O_RDONLY : O_RDWR;
193 mode |
1169 validmode(int mode) argument
1207 int mode; local
[all...]
H A Dndmpd_callbacks.c1071 * mode (input) - bitmask of the following:
1076 * conditions specified by mode.
1084 ulong_t mode, ndmpd_file_handler_func_t *func)
1088 return (ndmpd_add_file_handler(session, cookie, fd, mode, HC_MODULE,
1083 ndmpd_api_add_file_handler(void *daemon_cookie, void *cookie, int fd, ulong_t mode, ndmpd_file_handler_func_t *func) argument
H A Dndmpd_log.c125 openlogfile(char *fname, char *mode) argument
128 mode != NULL && *mode != '\0');
130 if ((logfp = fopen(fname, mode)) == NULL) {
191 * Open the log file either for append or write mode. This function should
197 char *fname, *mode, *lpath; local
257 mode = "w";
259 mode = "a";
261 return (openlogfile(fname, mode));
/illumos-gate/usr/src/cmd/pwconv/
H A Dpwconv.c104 mode_t mode; local
164 /* mode for the password file should be read-only or less */
178 /* default mode mask of the shadow file */
179 mode = S_IAMB & ~(S_IRUSR);
182 /* if the shadow file exists, get mode mask and group id of the file */
188 mode = S_IAMB & ~(buf.st_mode & S_IRUSR);
202 * get the mode of shadow password file -- mode of the file should
205 (void) umask(mode);
460 /* Make new mode sam
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c225 set_hardware_mode(int vlan_id, UID_STP_MODE_T mode) argument
228 syslog(LOG_DEBUG, "setting hardware mode on vlan %d to %d",
229 vlan_id, mode);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs.c525 detail_mode(mode)
526 int mode;
530 switch (mode & S_IFMT) {
541 (void) sprintf(get_line(0, 0), "Mode = 0%o", mode);
545 (mode & S_ISUID) != 0,
546 (mode & S_ISGID) != 0,
547 (mode & S_ISVTX) != 0);
549 perms(mode >> 6 & 0x7));
551 perms(mode >> 3 & 0x7));
553 perms(mode
559 int fltype, mode, nlinks, uid, gid, size, blksz; local
595 int mode; local
[all...]
H A Dsnoop_ntp.c41 * In verbose mode, how many octets of the control-mode data payload
232 /* NTP Control Message, mode 6 */
314 /* NTP Private Message, mode 7 */
364 /* Unknown mode */
389 show_mode(int mode) argument
391 switch (mode) {
405 show_ref(int mode, ulong_t refid) argument
411 switch (mode) {
/illumos-gate/usr/src/cmd/csh/
H A Dsh.exp.c56 * given by mode.
66 chk_access(tchar *path, mode_t mode) argument
83 if (access((char *)name, 010|(mode>>6)) == 0) {
85 if (ftype != S_IFREG || mode != S_IEXEC)
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fdio.c125 int flags, mode_t mode)
138 fd = open64(buf, flags, mode);
147 fd = open64(fname, flags, mode);
299 * If we are operating on a disk in raw mode, we must do our own
124 mdb_fdio_create_path(const char *path[], const char *fname, int flags, mode_t mode) argument
H A Dmdb_module.c99 mdb_module_create(const char *name, const char *fname, int mode, argument
105 int dlmode = (mode & MDB_MOD_GLOBAL) ? RTLD_GLOBAL : RTLD_LOCAL;
125 if (!(mode & MDB_MOD_BUILTIN)) {
289 if (mdb_module_add_dcmd(mod, dcp, mode) == -1)
294 if (mdb_module_add_walker(mod, wp, mode) == -1)
580 mdb_module_unload_all(int mode) argument
591 (void) mdb_module_unload(mod->mod_name, mode);
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_promif_isadep.c204 int valid, mode; local
211 if (prom_translate_virt((caddr_t)vabase, &valid, &pa, &mode) != 0)
/illumos-gate/usr/src/cmd/fcinfo/
H A DprintAttrs.c213 HBA_ADAPTERATTRIBUTES *attrs, int mode) {
220 (mode == INITIATOR_MODE) ? "Initiator" : "Target");
212 printHBAPortInfo(HBA_PORTATTRIBUTES *port, HBA_ADAPTERATTRIBUTES *attrs, int mode) argument
/illumos-gate/usr/src/cmd/filesync/
H A Daction.c385 * code will still behave properly in notouch mode (when restats
392 int mode, maj, min, type; local
438 mode = sp->f_mode; /* modes for the new file */
461 if (dp->f_mode != mode)
543 fprintf(stdout, " chmod %o %s;\n", mode, noblanks(dst));
554 rc = opt_notouch ? 0 : mkdir(dst, mode);
561 dp->f_mode = mode;
609 : mknod(dst, mode|type, makedev(maj, min));
618 if (dp->f_mode != mode)
689 dp->f_mode = mode;
1064 copy(char *src, char *dst, int mode) argument
[all...]
H A Dbase.c890 * to convert between a file type (as found in a mode word)
894 * mode word -> character
895 * character -> mode word
899 static char showtype(int mode) argument
901 return (types[ (mode & S_IFMT) >> 12 ]);

Completed in 82 milliseconds

<<11121314151617181920>>