1 /* Copyright (c) 1992, 1995 John E. Davis
4 * You may distribute under the terms of either the GNU General Public
5 * License or the Perl Artistic License.
9 /* These routines are fast memcpy, memset routines. When available, I
10 use system rouines. For msdos, I use inline assembly. */
12 /* The current versions only work in the forward direction only!! */
21 void SLmemset(char *p
, char space
, int n
)
23 #if defined(msdos) && !defined(__WIN32__) && !defined(__GO32__)
38 *p
++ = space
; *p
++ = space
; *p
++ = space
; *p
++= space
;
40 while (n
--) *p
++ = space
;