Plan 9 from Bell Labs’s /usr/web/sources/extra/9hist/pc/kpmemmove.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


## diffname pc/kpmemmove.c 2001/0127
## diff -e /dev/null /n/emeliedump/2001/0127/sys/src/9/pc/kpmemmove.c
0a
#include	"u.h"
#include	"../port/lib.h"
#include	"mem.h"
#include	"dat.h"
#include	"fns.h"
#include	"../port/error.h"

#undef memmove

void	*
kpmemmove(void *s, void *d, long n)
{
	void *p;
	if(up == nil)
		return memmove(s, d, n);

	up->kppc = getcallerpc(&s);
	p = memmove(s, d, n);
	up->kppc = 0;
	return p;
}
.
## diffname pc/kpmemmove.c 2001/0527 # deleted
## diff -e /n/emeliedump/2001/0127/sys/src/9/pc/kpmemmove.c /n/emeliedump/2001/0527/sys/src/9/pc/kpmemmove.c
1,21d

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.