All pastes #58095 Raw Edit

Anonymous

public text v1 · immutable
#58095 ·published 2006-05-22 18:37 UTC
rendered paste body
						fgets(procstat,299,stat_file);
				i=0;
				tag_parent[0] = strtok(procstat,space);
				while(i<10) {
					tag_parent[0] = strtok(NULL,space);	

					i++;
					if(i>3 && i<7) {

						status.position_deep_=0;

						strcpy(status.tag_parent,"xxx");

						strcpy(status.tag_child,"\0");

						strcpy(status.tag_child_in,"\0");

						strcpy(status.tag_parent_in,tag_parent[0]);

						AddNewBranch(status,proces);

					}

				}