shithub: riscv

Download patch

ref: bf4f158707ebfeacb15826ad4283ff247d7d81ae
parent: 333c3202043d25c8a975b94cdd374712314189c7
author: BurnZeZ <devnull@localhost>
date: Sat May 11 11:28:18 EDT 2019

memdraw(2): remove references to iprint()

--- a/sys/man/2/memdraw
+++ b/sys/man/2/memdraw
@@ -34,7 +34,6 @@
 memsubfontwidth,
 getmemdefont,
 memimagestring,
-iprint,
 hwdraw \- drawing routines for memory-resident images
 .SH SYNOPSIS
 .nf
@@ -160,7 +159,6 @@
 .PP
 .ft L
 .nf
-int	iprint(char *fmt, ...)
 int	hwdraw(Memdrawparam *param)
 .ft R
 .SH DESCRIPTION
@@ -423,9 +421,7 @@
 .PP
 The
 .I hwdraw
-and 
-.I iprint
-functions are no-op stubs that may be overridden by clients
+function is a no-op stub that may be overridden by clients
 of the library.
 .I Hwdraw
 is called at each call to
@@ -436,15 +432,6 @@
 If it cannot satisfy the request, it should return 0.
 This allows (for instance) the kernel to take advantage
 of hardware acceleration.
-.I Iprint
-should format and print its arguments;
-it is given much debugging output when
-the global integer variable
-.B drawdebug
-is non-zero.
-In the kernel,
-.I iprint
-prints to a serial line rather than the screen, for obvious reasons.
 .SH SOURCE
 .B /sys/src/libmemdraw
 .SH SEE ALSO