Home
last modified time | relevance | path

Searched refs:efbuf (Results 1 – 3 of 3) sorted by relevance

/NextBSD/sys/kern/
HDkern_descrip.c3381 export_kinfo_to_sb(struct export_fd_buf *efbuf) in export_kinfo_to_sb() argument
3385 kif = &efbuf->kif; in export_kinfo_to_sb()
3386 if (efbuf->remainder != -1) { in export_kinfo_to_sb()
3387 if (efbuf->remainder < kif->kf_structsize) { in export_kinfo_to_sb()
3389 efbuf->remainder = 0; in export_kinfo_to_sb()
3392 efbuf->remainder -= kif->kf_structsize; in export_kinfo_to_sb()
3394 return (sbuf_bcat(efbuf->sb, kif, kif->kf_structsize) == 0 ? 0 : ENOMEM); in export_kinfo_to_sb()
3399 struct export_fd_buf *efbuf) in export_file_to_sb() argument
3403 if (efbuf->remainder == 0) in export_file_to_sb()
3405 export_file_to_kinfo(fp, fd, rightsp, &efbuf->kif, efbuf->fdp, in export_file_to_sb()
[all …]
/NextBSD/contrib/netbsd-tests/lib/libc/regex/
HDmain.c515 static char efbuf[100]; in efind() local
518 sprintf(efbuf, "REG_%s", name); in efind()
519 assert(strlen(efbuf) < sizeof(efbuf)); in efind()
520 re.re_endp = efbuf; in efind()
521 (void) regerror(REG_ATOI, &re, efbuf, sizeof(efbuf)); in efind()
522 return(atoi(efbuf)); in efind()
/NextBSD/lib/libc/regex/grot/
HDmain.c485 static char efbuf[100]; in efind() local
489 sprintf(efbuf, "REG_%s", name); in efind()
490 assert(strlen(efbuf) < sizeof(efbuf)); in efind()
491 re.re_endp = efbuf; in efind()
492 (void) regerror(REG_ATOI, &re, efbuf, sizeof(efbuf)); in efind()
493 return(atoi(efbuf)); in efind()