summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-10-11 17:37:44 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-10-11 21:23:46 -0700
commit09dbfcb0ad7b6c8bac94502f2801e82f2a2ef435 (patch)
tree266976a73252b8b73fc54bada9ddb1b3de14cbb4 /doc
parentdb30615bcb3b872475e7d40eeee8cdda5b723078 (diff)
os: Remove Error()
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/Xserver-spec.xml10
1 files changed, 1 insertions, 9 deletions
diff --git a/doc/Xserver-spec.xml b/doc/Xserver-spec.xml
index 37fd2b29a..2bf4fb3b7 100644
--- a/doc/Xserver-spec.xml
+++ b/doc/Xserver-spec.xml
@@ -1324,10 +1324,6 @@ This re-enables X request processing for the specified client.
void
FatalError(char *f, ...)
-
- void
- Error(str)
- char *str;
</programlisting></blockquote>
You should write these three routines to provide for diagnostic output
from the dix and ddx layers, although implementing them to produce no
@@ -1335,11 +1331,7 @@ output will not affect the correctness of your server. ErrorF() and
FatalError() take a printf() type of format specification in the first
argument and an implementation-dependent number of arguments following
that. Normally, the formats passed to ErrorF() and FatalError()
-should be terminated with a newline. Error() provides an os interface
-for printing out the string passed as an argument followed by a
-meaningful explanation of the last system error. Normally the string
-does not contain a newline, and it is only called by the ddx layer.
-In the sample implementation, Error() uses the perror() function.
+should be terminated with a newline.
</para>
<para>
After printing the message arguments, FatalError() must be implemented