Searched refs:mode (Results 151 - 175 of 589) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libnsl/common/
H A Ddaemon_utils.c88 open_daemon_lock(const char *name, int mode) argument
124 if ((fd = open(lock_file, mode, 0644)) == -1)
127 if (mode & O_CREAT)
/osnet-11/usr/src/lib/libpkg/common/
H A Dmappath.c41 #define mode(flag, pt) (!flag || ((flag == 1) && islower(pt[1])) || \ macro
83 if (mode(flag, pt)) {
206 if (mode(flag, varname)) {
H A Dppkgmap.c105 if (fprintf(fp, ((ept->ainfo.mode == BADMODE) ? " ?" : " %04o"),
106 ept->ainfo.mode) < 0)
/osnet-11/usr/src/lib/libcmd/common/
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 Dcut.c131 cutinit(int mode, char* str, Delim_t* wdelim, Delim_t* ldelim, size_t reclen) argument
155 cut->cflag = (mode&C_CHARS) && cut->mb;
156 cut->nosplit = (mode&(C_BYTES|C_NOSPLIT)) == (C_BYTES|C_NOSPLIT) && cut->mb;
157 cut->sflag = (mode&C_SUPRESS) != 0;
158 cut->nlflag = (mode&C_NONEWLINE) != 0;
578 int mode = 0; local
595 if(mode&C_FIELDS)
602 mode |= C_BYTES;
604 mode |= C_CHARS;
637 if(mode
[all...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_dli.c93 int mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local
108 fd = open(dlipath, oflag, mode);
112 if (fchmod(fd, mode) < 0) {
/osnet-11/usr/src/lib/efcode/engine/
H A Dextend.c38 int mode; local
41 mode = POP(DS);
43 pl = dlopen(name, mode);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/t/
H A Dnetrc.t141 my ($class, $file, $mode) = @_[0,2,3];
142 bless({ file => $file, mode => $mode }, $class);
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsffilbuf.c51 rcrv = f->mode&(SF_RC|SF_RV|SF_LOCK);
56 for(first = 1;; first = 0, (f->mode &= ~SF_LOCK) )
57 { /* check mode */
103 f->mode |= rcrv;
H A Dsfsetbuf.c128 if(_Sfexiting && !(f->flags&SF_STRING) && (f->mode&SF_WRITE))
133 if((init = f->mode&SF_INIT) )
137 else if((f->mode&SF_RDWR) != SFMODE(f,local) && _sfmode(f,0,local) < 0)
141 f->mode = (f->mode&SF_RDWR)|SF_LOCK;
146 if(f->proc && (f->flags&SF_READ) && (f->mode&SF_WRITE) &&
156 f->mode &= ~SF_SYNCED;
275 /* set line mode for terminals */
317 if(okmmap && size && (f->mode&SF_READ) && f->extent >= 0 )
342 else if(f == sfstderr && (f->mode
[all...]
H A Dsfgetm.c44 if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)
H A Dsfgetu.c43 if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)
/osnet-11/usr/src/cmd/sendmail/db/lock/
H A Dlock.c117 list[i].obj, list[i].mode, &lp);
159 list[i].mode = lp->mode;
451 * Check that lock mode is valid.
456 "lock_get: invalid lock mode %lu\n", (u_long)lock_mode);
472 newl->mode = lock_mode;
513 if (lp->mode == lock_mode &&
529 } else if (CONFLICTS(lt, lp->mode, lock_mode))
552 if (CONFLICTS(lt, lp->mode, lock_mode) &&
655 * upgrade the mode
713 const char *mode, *status; local
[all...]
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_print.c203 int mode = MODE_GRAPHICS; /* treat as raw data */ local
207 pfd = smbfs_open_printer(ctx, title, setup_len, mode);
244 int setuplen, int mode)
273 ioc.ioc_prmode = mode;
243 smbfs_open_printer(struct smb_ctx *ctx, const char *title, int setuplen, int mode) argument
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dsem.c206 ** SM_SEMSETOWNER -- set owner/group/mode of semaphores.
212 ** mode -- mode to use
220 sm_semsetowner(semid, uid, gid, mode)
224 mode_t mode;
240 semidds.sem_perm.mode = mode;
/osnet-11/usr/src/lib/libast/common/stdio/
H A Dvswprintf.c42 f.mode = SF_WRITE;
H A Dfgets.c33 if(n <= 0 || !us || (f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0))
45 f->mode |= SF_RC;
H A Dgetdelim.c44 if(f->mode != SF_READ && _sfmode(f,SF_READ,0) < 0)
55 f->mode |= SF_RC;
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dvmsegment.c48 if(!(vd->mode&VM_TRUST))
H A Dvmpool.c64 if(!(local = vd->mode&VM_TRUST) )
93 else if(vd->mode&VM_AGAIN)
94 vd->mode &= ~VM_AGAIN;
116 if(!local && (vd->mode&VM_TRACE) && _Vmtrace && tp)
142 if(!(local = vd->mode&VM_TRUST))
194 if(!(local = vd->mode&VM_TRUST))
217 if(!local && (vd->mode&VM_TRACE) && _Vmtrace)
256 if(!(local = vd->mode&VM_TRUST) )
271 if((vd->mode&VM_TRACE) && _Vmtrace)
305 if(!(vd->mode
[all...]
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dcflow.c65 pp->mode = (**argv=='e'?SH_JMPEXIT:SH_JMPFUN);
70 pp->mode = SH_JMPEXIT;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Ddosish.h73 * use the routine my_binmode(FILE *fp, char iotype, int mode) to insure
74 * that a file is in "binary" mode -- that is, that no translation
139 #define Mkdir(path,mode) mkdir((path),(mode))
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Tie/File/t/
H A D08_ro.t3 # Make sure it works to open the file in read-only mode
19 my $o = tie @a, 'Tie::File', $file, mode => O_RDONLY, autochomp => 0;
48 my $o = tie @a, 'Tie::File', $file, mode => O_RDONLY, autochomp => 0
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dsfio_t.h40 unsigned int mode; /* current io mode */ \
54 /* mode bit to indicate that the structure hasn't been initialized */
81 (unsigned int)(((type)&(SF_RDWR))|SF_INIT), /* mode */ \
109 (f)->mode = 0, /* mode */ \
/osnet-11/usr/src/lib/libast/common/include/
H A Dsfio_t.h40 unsigned int mode; /* current io mode */ \
54 /* mode bit to indicate that the structure hasn't been initialized */
81 (unsigned int)(((type)&(SF_RDWR))|SF_INIT), /* mode */ \
109 (f)->mode = 0, /* mode */ \

Completed in 71 milliseconds

1234567891011>>