Home | History | Annotate | Download | only in Support

Lines Matching refs:buffer

40   char buffer[MaxErrStrLen];
41 buffer[0] = '\0';
42 char* str = buffer;
48 // which may not use the buffer supplied.
49 str = strerror_r(errnum,buffer,MaxErrStrLen-1);
51 strerror_r(errnum,buffer,MaxErrStrLen-1);
55 strerror_s(buffer, MaxErrStrLen - 1, errnum);
58 // the buffer as fast as possible to minimize impact
61 strncpy(buffer,strerror(errnum),MaxErrStrLen-1);
62 buffer[MaxErrStrLen-1] = '\0';
66 sprintf(buffer, "Error #%d", errnum);