Searched refs:fwrite (Results 1 - 25 of 70) sorted by relevance

123

/osnet-11/usr/src/lib/libcurses/screen/
H A Dscr_ll_dump.c57 if (fwrite((char *) &magic, sizeof (short), 1, filep) != 1)
66 if (fwrite((char *) &(statbuf.st_mtime), sizeof (time_t),
79 if (fwrite((char *) &magic, sizeof (int), 1, filep) != 1)
85 if ((fwrite((char *) &labmax,
87 (fwrite((char *) &lablen, sizeof (short),
92 if ((fwrite(slk->_ldis[i], sizeof (char), lablen,
93 filep) != lablen) || (fwrite(slk->_lval[i],
108 if (fwrite((char *) &magic, sizeof (int), 1, filep) != 1)
112 if ((fwrite((char *) &COLORS, sizeof (int), 1, filep) != 1) ||
113 (fwrite((cha
[all...]
H A Dputwin.c65 if (fwrite((char *) &(win->_cury), 1, nelt, filep) != nelt)
72 if (fwrite((char *) *wcp++, sizeof (chtype),
/osnet-11/usr/src/lib/libmail/common/
H A Dcopystream.c59 if (fwrite(buffer, sizeof (char), nread, outfp) != nread)
/osnet-11/usr/src/lib/libast/common/stdio/
H A Dfwrite.c27 fwrite(const void* p, size_t s, size_t n, Sfio_t* f) function
31 STDIO_INT(f, "fwrite", ssize_t, (const void*, size_t, size_t, Sfio_t*), (p, s, n, f))
H A Dstdio_c99.c93 return fwrite(buf, size, n, sp);
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-macho2img.c96 fwrite (buf + grub_le_to_cpu32 (curcmd->fileoff), 1,
112 fwrite (&tmp, 4, 1, out);
114 fwrite (&tmp, 4, 1, out);
H A Dgrub-menulst2cfg.c115 fwrite (suffix, 1, suffixlen, out);
H A Dgrub-editenv.c129 if (fwrite (buf, 1, DEFAULT_ENVBLK_SIZE, fp) != DEFAULT_ENVBLK_SIZE)
209 if (fwrite (grub_envblk_buffer (envblk), 1, grub_envblk_size (envblk), fp)
H A Dmisc.c177 if (fwrite (img, 1, size, out) != size)
185 if (fwrite (img, 1, size, out) != size)
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dstdio-write.c141 fwrite (const void *ptr, size_t s, size_t n, FILE *stream) function
142 #undef fwrite macro
144 CALL_WITH_SIGPIPE_EMULATION (size_t, fwrite (ptr, s, n, stream), ret < n)
H A Dargp-fmtstream.h68 #define __argp_fmtstream_write(fs,str,len) fwrite(str,1,len,fs)
69 #define argp_fmtstream_write(fs,str,len) fwrite(str,1,len,fs)
H A Dstdio.in.h460 # undef fwrite
461 # define fwrite rpl_fwrite
463 _GL_FUNCDECL_RPL (fwrite, size_t,
466 _GL_CXXALIAS_RPL (fwrite, size_t,
469 _GL_CXXALIAS_SYS (fwrite, size_t,
472 _GL_CXXALIASWARN (fwrite);
H A Dargp-namefrob.h123 # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dunixish.h117 * fwrite1() should be a routine with the same calling sequence as fwrite(),
119 * fwrite() itself, which on some systems outputs several distinct records
122 #define fwrite1 fwrite
H A Dfakesdio.h40 #undef fwrite macro
90 #define fwrite(b,s,c,f) PerlIO_write(f,b,(s*c))
93 #define fwrite(b,s,c,f) _CANNOT fwrite macro
H A Dnostdio.h53 #undef fwrite macro
99 #define fwrite(b,s,c,f) _CANNOT _fwrite_ macro
H A Ddosish.h126 * fwrite1() should be a routine with the same calling sequence as fwrite(),
128 * fwrite() itself, which on some systems outputs several distinct records
131 #define fwrite1 fwrite
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-storage-cleanup-all-mountpoints.c143 if (fwrite (lines[i], 1, strlen (lines[i]), hal_mtab_new) != strlen (lines[i])) {
146 if (fwrite (anewl, 1, 1, hal_mtab_new) != 1) {
H A Dhal-storage-cleanup-mountpoint.c143 if (fwrite (anewl, 1, 1, hal_mtab_new) != 1) {
148 if (fwrite (lines[i], 1, strlen (lines[i]), hal_mtab_new) != strlen (lines[i])) {
/osnet-11/usr/src/lib/libxcurses/src/tic/
H A Dticparse.c266 if (fwrite(&header, sizeof (header), 1, fp) != 1
267 || fwrite(tnames, sizeof (char), tlength, fp) != tlength
268 || fwrite(boolean, sizeof (char), BOOLCOUNT, fp) != BOOLCOUNT)
272 && fwrite(&zero, sizeof (char), 1, fp) != 1)
282 if (fwrite(number, sizeof (short), NUMCOUNT, fp) != NUMCOUNT
283 || fwrite(string, sizeof (short), STRCOUNT, fp) != STRCOUNT
284 || fwrite(string_table, sizeof (char), next_free, fp) != next_free)
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c1130 if (!fwrite(&kt_vno, sizeof(kt_vno), 1, KTFILEP(id))) {
1216 if (!fwrite(&minus_size, sizeof(minus_size), 1, KTFILEP(id))) {
1228 if (!fwrite(iobuf, 1, (size_t) len, KTFILEP(id))) {
1506 if (!fwrite(&count, sizeof(count), 1, KTFILEP(id))) {
1513 if (!fwrite(&size, sizeof(size), 1, KTFILEP(id))) {
1516 if (!fwrite(krb5_princ_realm(context, entry->principal)->data, sizeof(char),
1527 if (!fwrite(&size, sizeof(size), 1, KTFILEP(id))) {
1532 if (!fwrite(princ->data, sizeof(char), princ->length, KTFILEP(id))) {
1543 if (!fwrite(&princ_type, sizeof(princ_type), 1, KTFILEP(id))) {
1558 if (!fwrite(
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dxdr_stdio.c101 if (fwrite((caddr_t)lp, sizeof (int32_t), 1,
148 (fwrite(addr, (int)len, 1, (FILE *)xdrs->x_private) != 1))
177 * a fread or fwrite to a scratch buffer would defeat
/osnet-11/usr/src/lib/pam_modules/authtok_check/
H A Dpacklib.c96 (void) fwrite((char *)&(pdesc->header), sizeof (pdesc->header),
151 if (!fwrite((char *)&pwp->header, sizeof (pwp->header),
163 (void) fwrite(pwp->hwms, 1, sizeof (pwp->hwms),
206 (void) fwrite((char *)&datum, sizeof (datum), 1, pwp->ifp);
/osnet-11/usr/src/lib/libcmdutils/common/
H A Ddecompress.c206 if (fwrite(args->buf, 1, args->rsz, args->out) != args->rsz) {
223 if (fwrite(args->buf, 1, nread, args->out) != nread) {
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dloadsave.c533 #define WRITE_TOKEN_INFO_STR(fp, rec, reclen) rc = fwrite(rec, reclen, 1, fp); \
537 rc = fwrite(&fieldval, sizeof (UINT32), 1, fp); \
719 (void) fwrite(&total_len, sizeof (total_len), 1, fp);
720 (void) fwrite(&flag, sizeof (flag), 1, fp);
721 (void) fwrite(cleartxt, cleartxt_len, 1, fp);
835 (void) fwrite(&total_len, sizeof (UINT32), 1, fp);
836 (void) fwrite(&flag, sizeof (CK_BBOOL), 1, fp);
837 (void) fwrite(ciphertxt, ciphertxt_len, 1, fp);

Completed in 99 milliseconds

123