DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

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

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦0b10dbf79⟧ TextFile

    Length: 441 (0x1b9)
    Types: TextFile
    Names: »tellall.c«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Poker/tellall.c« 

TextFile

/*
** Send everyone a message.
*/

# include	"tellall.h"
# include	"util.h"
# include	"players.h"

void	tellall( player, n_players, msg )

PLAYER	player[];		/* all player info */
int	n_players;		/* # of players */
char	*msg;			/* message to send */

{
int	i;

for( i=1; i<n_players; i++ )	/* don't send any messages to the computer */
	if ( player[i].bet != -1 )	/* no messages to anyone sitting out */
		writeln( player[i].socket, msg );
}