Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/ssh/ssh-keyscan/
H A Dssh-keyscan.c114 void (*errfun) (const char *,...); member
118 Linebuf_alloc(const char *filename, void (*errfun) (const char *,...)) in Linebuf_alloc()
123 if (errfun) in Linebuf_alloc()
124 (*errfun) ("linebuf (%s): malloc failed\n", in Linebuf_alloc()
132 if (errfun) in Linebuf_alloc()
133 (*errfun) ("%s: %s\n", filename, strerror(errno)); in Linebuf_alloc()
142 if (errfun) in Linebuf_alloc()
143 (*errfun) ("linebuf (%s): malloc failed\n", lb->filename); in Linebuf_alloc()
147 lb->errfun = errfun; in Linebuf_alloc()
186 if (ferror(lb->stream) && lb->errfun) in Linebuf_getline()
[all …]