DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T c

⟦b5fc7b309⟧ TextFile

    Length: 1386 (0x56a)
    Types: TextFile
    Names: »compatible.c«

Derivation

└─⟦8ee07855d⟧ Bits:30000545 8mm tape, Rational 1000, DTIA 2_1_6
    └─ ⟦0c25cb74a⟧ »DATA« 
        └─⟦0732ea0cf⟧ 
└─⟦d0624311f⟧ Bits:30000529 8mm tape, Rational 1000, DTIA 2_1_7
    └─ ⟦f494b5154⟧ »DATA« 
        └─⟦0732ea0cf⟧ 
            └─ ⟦this⟧ »../../dtia/release_apollo_2.1/compatible.c« 
└─⟦8ee07855d⟧ Bits:30000545 8mm tape, Rational 1000, DTIA 2_1_6
    └─ ⟦0c25cb74a⟧ »DATA« 
        └─⟦25fab149a⟧ 
└─⟦d0624311f⟧ Bits:30000529 8mm tape, Rational 1000, DTIA 2_1_7
    └─ ⟦f494b5154⟧ »DATA« 
        └─⟦25fab149a⟧ 
            └─ ⟦this⟧ »../../dtia/release_sun_2.1/compatible.c« 
└─⟦8ee07855d⟧ Bits:30000545 8mm tape, Rational 1000, DTIA 2_1_6
    └─ ⟦0c25cb74a⟧ »DATA« 
        └─⟦be254d495⟧ 
└─⟦d0624311f⟧ Bits:30000529 8mm tape, Rational 1000, DTIA 2_1_7
    └─ ⟦f494b5154⟧ »DATA« 
        └─⟦be254d495⟧ 
            └─ ⟦this⟧ »../../dtia/release_aix_2.1/compatible.c« 
└─⟦8ee07855d⟧ Bits:30000545 8mm tape, Rational 1000, DTIA 2_1_6
    └─ ⟦0c25cb74a⟧ »DATA« 
        └─⟦c67979795⟧ 
└─⟦d0624311f⟧ Bits:30000529 8mm tape, Rational 1000, DTIA 2_1_7
    └─ ⟦f494b5154⟧ »DATA« 
        └─⟦c67979795⟧ 
            └─ ⟦this⟧ »../../dtia/release_hp_2.1/compatible.c« 

TextFile


#ifndef	lint
#ifndef	DEBUG
static char SCCS_id[] = "@(#)compatible.c 2.1 90/08/02 19:03:53  Copyright(c) 1990 by Rational.";
#else
static char SCCS_id[] = "@(#)compatible.c DEBUG 2.1 90/08/02 19:03:53  Copyright(c) 1990 by Rational.";
#endif
#endif

#define		COMPATIBLE
#include	"talk.h"
#undef		COMPATIBLE

#ifdef	HP
bzero(b, length)
char	*b;
int	length; 
{
	while (length--)	*b++ = '\0';
}

bcopy(b1, b2 ,length)
char	*b1,*b2;
int	length; 
{
	while (length--)	*b2++ = *b1++;
}

char	*index(s, c)
char	*s, c; 
{
	return	strchr(s, c);
}

char	*rindex(s, c)
char	*s, c; 
{
	return	strrchr(s, c);
}

int	getdtablesize() {
	return	FD_SETSIZE;
}

char	*getwd(path)
char	*path; 
{
	return	getcwd(path,MAXPATHLEN);
}

int	wait_pid(pid)
int	pid; 
{
	int	pid_ret;
	do {
		pid_ret=waitpid(pid,(int *)NULL,WNOHANG);
	} while (pid_ret > 0);
	return	pid_ret;
}

#endif

#ifdef	SUN
int	wait_pid(pid)
int	pid; 
{
	int	pid_ret;
	do {
		pid_ret = 
		    wait3((union wait *)NULL,WNOHANG,(struct rusage *)NULL);
	} while (pid_ret > 0);
	return	pid_ret;
}
#endif

#ifdef	AIX
int	wait_pid(pid)
int	pid; 
{
	int	pid_ret;
	do {
		pid_ret = waitpid(pid,(int *)NULL,WNOHANG);
	} while (pid_ret > 0);
	return	pid_ret;
}
#endif

#ifdef	APOLLO
int	wait_pid(pid)
int	pid; 
{
	int	pid_ret;
	do {
		pid_ret=wait3((union wait *)NULL,WNOHANG,(struct rusage *)NULL);
	} while (pid_ret > 0);
	return	pid_ret;
}
#endif