File:  [XINU] / xinu / sys / dotrace.debug.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:40:06 2018 UTC (8 years, 2 months ago) by root
Branches: xinu, MAIN
CVS tags: xinu-19910600, HEAD
Xinu for 68000/68010

/* dotrace.c - dotrace */

#include <kernel.h>

int	dotrace(procname, argv, argc)
	char	*procname;
	int	*argv;
	int	argc;
{
	int	i;

	kprintf("%s(", procname);
	for (i=0; i<argc-1; i++)
		kprintf("%x,",*(argv + i));
	if (argc != 0)
		kprintf("%x)\n",*(argv + argc - 1));
	else
		kprintf(")\n");
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.