Commit | Line | Data |
---|---|---|
74441096 C |
1 | /* py_advise.c - standard "advise" routine for pepsy/pepy */ |
2 | ||
3 | #ifndef lint | |
4 | static char *rcsid = "$Header: /f/osi/pepsy/RCS/py_advise.c,v 7.2 91/02/22 09:50:02 mrose Interim $"; | |
5 | #endif | |
6 | ||
7 | /* | |
8 | * $Header: /f/osi/pepsy/RCS/py_advise.c,v 7.2 91/02/22 09:50:02 mrose Interim $ | |
9 | * | |
10 | * | |
11 | * $Log: py_advise.c,v $ | |
12 | * Revision 7.2 91/02/22 09:50:02 mrose | |
13 | * Interim 6.8 | |
14 | * | |
15 | * Revision 7.1 90/07/09 14:53:19 mrose | |
16 | * sync | |
17 | * | |
18 | * Revision 7.0 89/11/23 22:12:05 mrose | |
19 | * Release 6.0 | |
20 | * | |
21 | */ | |
22 | ||
23 | /* | |
24 | * NOTICE | |
25 | * | |
26 | * Acquisition, use, and distribution of this module and related | |
27 | * materials are subject to the restrictions of a license agreement. | |
28 | * Consult the Preface in the User's Manual for the full terms of | |
29 | * this agreement. | |
30 | * | |
31 | */ | |
32 | ||
33 | ||
34 | /* LINTLIBRARY */ | |
35 | ||
36 | #include <stdio.h> | |
37 | #include <varargs.h> | |
38 | ||
39 | /* \f */ | |
40 | ||
41 | #ifndef lint | |
42 | char PY_pepy[BUFSIZ]; | |
43 | ||
44 | ||
45 | void PY_advise (va_alist) | |
46 | va_dcl | |
47 | { | |
48 | va_list ap; | |
49 | ||
50 | va_start (ap); | |
51 | ||
52 | asprintf (PY_pepy, ap); | |
53 | ||
54 | va_end (ap); | |
55 | } | |
56 | #else | |
57 | /* VARARGS */ | |
58 | ||
59 | void PY_advise (what, fmt) | |
60 | char *what, | |
61 | *fmt; | |
62 | { | |
63 | PY_advise (what, fmt); | |
64 | } | |
65 | #endif |