source: buchla-68k/libsm/memcpyw.c@ 0580615

Last change on this file since 0580615 was 0580615, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Point of no return.

  • Property mode set to 100644
File size: 460 bytes
Line 
1/*
2 =============================================================================
3 memcpyw.c -- copy words
4 Version 2 -- 1987-06-15 -- D.N. Lynx Crowe
5
6 Copy s2 to s1, always copy n words.
7 Return pointer to s1.
8 =============================================================================
9*/
10
11short *memcpyw(short *s1, short *s2, int n)
12{
13 register short *os1 = s1;
14
15 while (--n >= 0)
16 *s1++ = *s2++;
17 return (os1);
18}
Note: See TracBrowser for help on using the repository browser.