| /onnv/onnv-gate/usr/src/cmd/sendmail/include/sm/ |
| setjmp.h | 33 # define sm_setjmp_sig(buf) sigsetjmp(buf, 1) 34 # define sm_setjmp_nosig(buf) sigsetjmp(buf, 0) 35 # define sm_longjmp_sig(buf, val) siglongjmp(buf, val) 36 # define sm_longjmp_nosig(buf, val) siglongjmp(buf, val) 41 # define sm_setjmp_sig(buf) setjmp(buf) [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/modules/common/eversholt/ |
| io.c | 37 io_abort(const char *buf) 39 fmd_hdl_abort(Hdl, "%s\n", buf); 43 io_die(const char *buf) 45 fmd_hdl_abort(Hdl, "%s\n", buf); 49 io_err(const char *buf) 51 fmd_hdl_abort(Hdl, "%s\n", buf); 55 io_out(const char *buf) 57 fmd_hdl_debug(Hdl, "%s\n", buf);
|
| /onnv/onnv-gate/usr/src/cmd/fm/eversholt/common/ |
| io.c | 33 io_abort(const char *buf) 35 (void) fprintf(stderr, "%s\n", buf); 40 io_die(const char *buf) 42 (void) fprintf(stderr, "%s\n", buf); 47 io_err(const char *buf) 49 (void) fprintf(stderr, "%s\n", buf); 53 io_out(const char *buf) 55 (void) printf("%s\n", buf);
|
| io.h | 38 void io_abort(const char *buf) __NORETURN; 39 void io_die(const char *buf) __NORETURN; 40 void io_err(const char *buf); 41 void io_out(const char *buf);
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/4.2/ |
| stat.c | 34 int stat(path, buf) 36 struct stat *buf; 38 return(bc_stat(path, buf)); 42 int bc_stat(path, buf) 44 struct stat *buf; 50 if ((buf == (struct stat*)0) || (buf == (struct stat*)-1)) { 54 return(stat_com(SYS_stat, path, buf)); 58 int lstat(path, buf) 60 struct stat *buf; [all...] |
| /onnv/onnv-gate/usr/src/cmd/lp/lib/oam/ |
| agettxt.c | 45 char * buf, 49 agettxt (msg_id, buf, buflen) 51 char *buf; 56 strncpy (buf, gettext(_oam_msg_base_[msg_id]), buflen-1); 58 strncpy (buf, gettext("No message defined--get help!"), buflen-1); 59 buf[buflen-1] = 0; 60 return (buf);
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
| util_localhost.c | 48 char buf[MAXHOSTNAMELEN+1], *ptr; local 50 if (gethostname(buf, sizeof(buf)) < 0) 53 buf[sizeof(buf)-1] = '\0'; 55 if (! (ptr = xmalloc(strlen(buf) + 1))) 58 return strcpy(ptr, buf);
|
| /onnv/onnv-gate/usr/src/cmd/mailx/ |
| lpaths.c | 57 static char buf[PATHSIZE]; local 59 snprintf(buf, sizeof (buf), "%s/%s", LIBPATH, file); 60 return (buf); 69 static char buf[PATHSIZE]; local 74 snprintf(buf, sizeof (buf), "%s/%s/LC_MESSAGES/%s", 76 if (access(buf, 0) == 0) 77 return (buf); 79 snprintf(buf, sizeof (buf), "%s/%s", LIBPATH, file) [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/crypto/ |
| cversion.c | 72 static char buf[sizeof(DATE)+11]; local 74 BIO_snprintf(buf,sizeof buf,"built on: %s",DATE); 75 return(buf); 83 static char buf[sizeof(CFLAGS)+11]; local 85 BIO_snprintf(buf,sizeof buf,"compiler: %s",CFLAGS); 86 return(buf); 94 static char buf[sizeof(PLATFORM)+11]; local 96 BIO_snprintf(buf,sizeof buf,"platform: %s", PLATFORM) [all...] |
| /onnv/onnv-gate/usr/src/lib/libc/port/gen/ |
| assert.c | 50 char buf[512]; local 52 (void) snprintf(buf, sizeof (buf), 55 (void) write(2, buf, strlen(buf)); 56 __set_panicstr(buf); 69 char buf[512]; local 71 (void) snprintf(buf, sizeof (buf), 75 (void) write(2, buf, strlen(buf)) [all...] |
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
| asn1buf.h | 18 (const asn1buf *buf); 19 /* requires *buf has been created and not destroyed 21 (in octets) of buf's octet buffer. */ 22 #define asn1buf_size(buf) \ 23 (((buf) == NULL || (buf)->base == NULL) \ 25 : ((buf)->bound - (buf)->base + 1)) 28 (const asn1buf *buf); 29 /* requires *buf is allocate [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/compat/sys5/ |
| getpw.c | 32 getpw(int uid, char buf[]) 40 strcpy(buf, pw->pw_name); 41 strcat(buf, ":"); 42 strcat(buf, pw->pw_passwd); 44 strcat(buf, ","); 45 strcat(buf, pw->pw_age); 47 strcat(buf, ":"); 49 strcat(buf, numbuf); 50 strcat(buf, ":"); 52 strcat(buf, numbuf) [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/string/ |
| fmttime.c | 35 char* buf; local 38 buf = fmtbuf(z = 80); 39 tmfmt(buf, z, format, &clock); 40 return buf;
|
| fmtsignal.c | 37 char* buf; local 43 buf = sig_info.text[sig]; 46 buf = fmtbuf(z = 20); 47 sfsprintf(buf, z, "Signal %d", sig); 54 buf = sig_info.name[sig]; 57 buf = fmtbuf(z = 20); 58 sfsprintf(buf, z, "%d", sig); 61 return buf;
|
| fmtdev.c | 37 char* buf; local 43 buf = fmtbuf(z = 17); 50 buf[0] = ma; 51 buf[1] = mi; 52 buf[2] = 0; 55 sfsprintf(buf, z, "%03d,%03d", ma, mi); 56 return buf;
|
| /onnv/onnv-gate/usr/src/cmd/sendmail/libsmutil/ |
| snprintf.c | 41 static char buf[MAXSHORTSTR + 1]; 52 (void) sm_strlcpy(buf, s, m + 1); 53 return buf; 55 (void) sm_strlcpy(buf, s, m - 2); 56 (void) sm_strlcat(buf, "...", sizeof buf); 57 return buf; 60 (void) sm_strlcpy(buf, s, m + 1); 61 (void) sm_strlcat2(buf, "...", s + l - m, sizeof buf); 40 static char buf[MAXSHORTSTR + 1]; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/fmli/sys/ |
| nstrcat.c | 48 static char buf[MAX_WIDTH]; local 51 q = buf; 52 strncpy(q, first, sizeof(buf) - 1); 56 for (; q < &buf[sizeof(buf) - 1] && (p = va_arg(ap, char *)); q += strlen(q)) 57 strncpy(q, p, &buf[sizeof(buf) - 1] - q); 59 return buf;
|
| /onnv/onnv-gate/usr/src/cmd/lp/lib/msgs/ |
| _putmessage.c | 40 int _putmessage ( char * buf, short type, va_list arg ) 42 int _putmessage (buf, type, arg) 43 char *buf; 60 if (buf) 61 (void) htos(buf + MESG_TYPE, type); 72 if (buf) 73 (void) htos(buf + size, t_short); 80 if (buf) 81 (void) ltos(buf + size, t_long); 90 if (buf) [all...] |
| /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/ |
| portname.c | 14 static char buf[32]; local 21 strncpy(buf, sv->s_name, sizeof(buf)-1); 22 buf[sizeof(buf)-1] = '\0'; 24 sv = strncasecmp(buf, sv->s_name, strlen(buf)) ? 28 return buf; 31 strncpy(buf, sv->s_name, sizeof(buf)-1) [all...] |
| /onnv/onnv-gate/usr/src/ucblib/libucb/port/gen/ |
| statfs.c | 27 cnvtvfs64(struct statfs64 *buf, struct statvfs64 *vbuf) 29 buf->f_type = 0; 30 buf->f_bsize = vbuf->f_frsize; 31 buf->f_blocks = vbuf->f_blocks; 32 buf->f_bfree = vbuf->f_bfree; 33 buf->f_bavail = vbuf->f_bavail; 34 buf->f_files = vbuf->f_files; 35 buf->f_ffree = vbuf->f_ffree; 36 buf->f_fsid.val[0] = vbuf->f_fsid; 37 buf->f_fsid.val[1] = 0 [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
| read.t | 10 $got = read(FOO,$buf,4); 13 print ($buf eq "perl" ? "ok 2\n" : "not ok 2 :$buf:\n"); 16 $got = read(FOO,$buf,4); 19 print ($buf eq "" ? "ok 4\n" : "not ok 4\n");
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/compat/4.1/ |
| getpw.c | 32 getpw(int uid, char buf[]) 40 strcpy(buf, pw->pw_name); 41 strcat(buf, ":"); 42 strcat(buf, pw->pw_passwd); 43 strcat(buf, ":"); 45 strcat(buf, numbuf); 46 strcat(buf, ":"); 48 strcat(buf, numbuf); 49 strcat(buf, ":"); 50 strcat(buf, pw->pw_gecos) [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/sys5/ |
| stat.c | 36 int stat(path, buf) 38 struct stat *buf; 40 return(bc_stat(path, buf)); 43 int bc_stat(path, buf) 45 struct stat *buf; 51 if ((buf == (struct stat*)0) || (buf == (struct stat*)-1)) { 55 return(stat_com(SYS_stat, path, buf)); 59 int lstat(path, buf) 61 struct stat *buf; [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/path/ |
| pathnative.c | 27 * convert path to native fs representation in <buf,siz> 29 * if return length >= siz then buf is indeterminate, but another call 31 * if buf==0 then required size is returned 41 pathnative(const char* path, char* buf, size_t siz) 43 return uwin_path(path, buf, siz); 53 pathnative(const char* path, char* buf, size_t siz) 57 if (!buf || siz < PATH_MAX) 62 if ((n = strlen(tmp)) < siz && buf) 63 memcpy(buf, tmp, n + 1); 66 cygwin_conv_to_win32_path(path, buf); [all...] |
| pathposix.c | 27 * convert native path to posix fs representation in <buf,siz> 29 * if return length >= siz then buf is indeterminate, but another call 31 * if buf==0 then required size is returned 41 pathposix(const char* path, char* buf, size_t siz) 43 return uwin_unpath(path, buf, siz); 53 pathposix(const char* path, char* buf, size_t siz) 57 if (!buf || siz < PATH_MAX) 62 if ((n = strlen(tmp)) < siz && buf) 63 memcpy(buf, tmp, n + 1); 66 cygwin_conv_to_posix_path(path, buf); [all...] |