From 1d14e9fea5d9f375df9bc9f068d8c0b808ec13e7 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 2 May 1996 04:17:10 +0000 Subject: (ps_fmt_creation_error): new declaration. --- libps/ps.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libps/ps.h') diff --git a/libps/ps.h b/libps/ps.h index 4807af99..81a4195f 100644 --- a/libps/ps.h +++ b/libps/ps.h @@ -742,6 +742,11 @@ struct ps_fmt error_t ps_fmt_create (char *src, struct ps_fmt_specs *fmt_specs, struct ps_fmt **fmt); +/* Given the same arguments as a previous call to ps_fmt_create that returned + an error, this function returns a malloced string describing the error. */ +void ps_fmt_creation_error (char *src, struct ps_fmt_specs *fmt_specs, + char **error); + /* Free FMT, and any resources it consumes. */ void ps_fmt_free (struct ps_fmt *fmt); -- cgit v1.2.3