Home
last modified time | relevance | path

Searched refs:oflags (Results 1 – 14 of 14) sorted by relevance

/haiku/src/tools/fs_shell/
H A Dfcntl.cpp28 fssh_open(const char *pathname, int oflags, ...) in fssh_open() argument
31 va_start(args, oflags); in fssh_open()
35 if (oflags & FSSH_O_CREAT) in fssh_open()
44 fd = open(pathname, to_platform_open_mode(oflags), in fssh_open()
47 fd = _kern_open(-1, pathname, to_platform_open_mode(oflags), in fssh_open()
/haiku/src/system/libroot/posix/stdlib/
H A Dmktemp.c74 mkostemp(char *path, int oflags) in mkostemp() argument
77 if (_gettemp(path, &fd, 0, 0, oflags)) in mkostemp()
103 _gettemp(char *path, int *doopen, int domkdir, int slen, int oflags) in _gettemp() argument
163 if ((*doopen = open(path, O_CREAT | O_EXCL | O_RDWR | oflags, 0600)) >= 0) in _gettemp()
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto.c344 int oflags; in ieee80211_crypto_newkey() local
386 oflags = key->wk_flags; in ieee80211_crypto_newkey()
389 flags |= (oflags & IEEE80211_KEY_DEVICE); in ieee80211_crypto_newkey()
432 key->wk_flags = oflags; /* restore old flags */ in ieee80211_crypto_newkey()
470 oflags, key->wk_flags); in ieee80211_crypto_newkey()
477 key->wk_flags = oflags; /* restore old flags */ in ieee80211_crypto_newkey()
H A Dieee80211_ht.c1836 uint16_t oflags = ni->ni_flags; in htcap_update_mimo_ps() local
1853 return (oflags ^ ni->ni_flags); in htcap_update_mimo_ps()
/haiku/headers/private/fs_shell/
H A Dfssh_fcntl.h72 extern int fssh_open(const char *pathname, int oflags, ...);
/haiku/src/libs/iconv/
H A Dconverters.h96 int oflags; member
H A Dloop_unicode.h27 if (cd->oflags & HAVE_HANGUL_JAMO) { in unicode_transliterate()
110 (cd->oflags & HAVE_QUOTATION_MARKS in unicode_transliterate()
112 : (cd->oflags & HAVE_ACCENTS in unicode_transliterate()
H A Diconv.c81 int oflags; /* flags for unicode -> multibyte conversion */ member
391 cd->oflags = all_encodings[to_index].oflags; in iconv_open()
H A DChangeLog4210 (encoding): Add field 'oflags'.
4211 (all_encodings): Initialize the field 'oflags'.
4212 (iconv_open): Copy field 'oflags'.
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_query.c117 u_int oflags; in res_nquery() local
121 oflags = statp->_flags; in res_nquery()
157 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) { in res_nquery()
/haiku/src/system/kernel/fs/
H A Dsocket.cpp371 int oflags = 0; in create_socket_fd() local
373 oflags |= O_CLOEXEC; in create_socket_fd()
375 oflags |= O_NONBLOCK; in create_socket_fd()
385 descriptor->open_mode = O_RDWR | oflags; in create_socket_fd()
396 fd_set_close_on_exec(context, fd, (oflags & O_CLOEXEC) != 0); in create_socket_fd()
/haiku/src/system/libroot/posix/glibc/libio/
H A Dfileops.c244 int oflags = 0, omode; in libc_hidden_def() local
264 oflags = O_CREAT|O_TRUNC; in libc_hidden_def()
269 oflags = O_CREAT|O_APPEND; in libc_hidden_def()
293 oflags |= O_EXCL; in libc_hidden_def()
308 oflags |= O_CLOEXEC; in libc_hidden_def()
318 result = _IO_file_open (fp, filename, omode|oflags, oprot, read_write, in libc_hidden_def()
/haiku/headers/posix/
H A Dstdlib.h71 extern int mkostemp(char *templat, int oflags);
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetaddrinfo.c2597 u_int oflags; local
2600 oflags = statp->_flags;
2642 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) {