source: trunk/minix/lib/ack/libm2/blockmove.c@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 509 bytes
Line 
1/*
2 (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 See the copyright notice in the ACK home directory, in the file "Copyright".
4*/
5
6/*
7 Module: block moves
8 Author: Ceriel J.H. Jacobs
9 Version: $Header: /cvsup/minix/src/lib/ack/libm2/blockmove.c,v 1.1 2005/10/10 15:27:46 beng Exp $
10*/
11
12#if _EM_WSIZE==_EM_PSIZE
13typedef unsigned pcnt;
14#else
15typedef unsigned long pcnt;
16#endif
17
18blockmove(siz, dst, src)
19 pcnt siz;
20 register char *dst, *src;
21{
22 while (siz--) *dst++ = *src++;
23}
Note: See TracBrowser for help on using the repository browser.