File: init.c

package info (click to toggle)
treetool 2.0.2-1
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 3,460 kB
  • ctags: 2,692
  • sloc: ansic: 26,504; makefile: 212
file content (18 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdio.h>

#include <xview/xview.h>
#include "generic.h"

int tinitialize(args)
targs args;
{
	/* check type */
	if(args==NULL)
		return(0);
	if(titem_type(args)!=lt_args)
		return(0);

	xv_init(XV_INIT_ARGC_PTR_ARGV, targs_argc_ptr(args), targs_argv(args),
		NULL);
	return(0);
}