Home | History | Annotate | Download | only in syscall

Lines Matching refs:openmode

62 	openmode int
247 func (fs *fsys) open(name string, openmode int, mode uint32) (fileImpl, error) {
258 if openmode&O_CREATE == 0 {
270 if openmode&(O_CREATE|O_EXCL) == O_CREATE|O_EXCL {
273 if openmode&O_TRUNC != 0 {
290 switch openmode & O_ACCMODE {
299 if openmode&O_ACCMODE != O_RDONLY {
317 openmode: openmode,
320 if openmode&O_APPEND != 0 {
398 if f.openmode&O_ACCMODE == O_WRONLY {
446 if f.openmode&O_ACCMODE == O_RDONLY {
472 func Open(path string, openmode int, perm uint32) (fd int, err error) {
476 f, err := fs.open(path, openmode, perm&0777|S_IFREG)