Lines Matching defs:retval
92 char *retval;
96 retval = fmd_hdl_alloc(Hdl, nbytes + HDRSIZ, FMD_SLEEP);
98 /* retval can't be NULL since fmd_hdl_alloc() sleeps for memory */
100 bcopy((void *)&nbytes, (void *)retval, sizeof (nbytes));
101 retval += HDRSIZ;
110 return ((void *)retval);
121 void *retval = alloc_malloc(nbytes, fname, line);
129 bcopy(ptr, retval, (osize < nbytes) ? osize : nbytes);
135 return (retval);
146 char *retval = alloc_malloc(strlen(ptr) + 1, fname, line);
148 (void) strcpy(retval, ptr);
150 return (retval);
192 char *retval;
195 retval = fmd_hdl_alloc(Hdl, nbytes, FMD_SLEEP);
201 return ((void *)retval);