hand
for (ptr = hand; ptr != NIL; ptr = ptr->next) {
thiscosts = this.hand + this.inspection + this.game +
gamecosts = game.hand + game.inspection + game.game +
totalcosts = total.hand + total.inspection + total.game +
printw("%4d%8d%9d", this.hand, game.hand, total.hand);
if (talon == NIL && hand != NIL)
struct cardtype *talon, *hand, *stock, *basecard;
long hand; /* cost of dealing hand */
hand = deck[18];
this.hand = costofhand;
game.hand += costofhand;
total.hand += costofhand;
transit(&talon, &hand);
transit(&hand, &talon);
for ( row = cnewrow, col = cnewcol, ptr = hand;
if (i == 0 || total.hand == 0) {
printf("| Hands %8ld |\n", total.hand);
long hand; /* cost of dealing hand */
infrom(CARD hand[], int n, const char *prompt)
if (!isone(crd, hand, n))
if (hand[i].rank == crd.rank &&
hand[i].suit == crd.suit)
if (hand[i].rank == crd.rank)
if (hand[j].rank == crd.rank)
scorehand(CARD hand[], CARD starter, int n, bool crb, bool do_explain)
k = hand[0].suit;
flag = (flag && (hand[i].suit == k));
if (hand[i].rank == JACK) /* check for his nibs */
if (hand[i].suit == starter.suit) {
h[i] = hand[i];
fifteens(CARD hand[], int n)
for (endp = &hand[n]; hand < endp; hand++) {
i = hand->rank + 1;
plyrhand(CARD hand[], const char *s)
prhand(hand, CINHAND, Playwin, false);
i = scorehand(hand, turnover, CINHAND, strcmp(s, "crib") == 0, explain);
anymove(CARD hand[], int n, int sum)
j = hand[0].rank;
if (hand[i].rank < j)
j = hand[i].rank;
anysumto(CARD hand[], int n, int s, int t)
if (s + VAL(hand[i].rank) == t)
drawcard(int player, int *hand)
++hand[card];
if (player == USER || hand[card] == CARDS) {
if (hand[card] == CARDS) {
chkwinner(player, hand);
gofish(int askedfor, int player, int *hand)
if (askedfor == drawcard(player, hand)) {
goodmove(int player, int move, int *hand, int *opphand)
hand[move] += opphand[move];
if (hand[move] == CARDS) {
chkwinner(player, hand);
chkwinner(int player, int *hand)
if (hand[i] > 0 && hand[i] < CARDS)
printhand(int *hand)
if (hand[i] < CARDS)
for (j = hand[i]; --j >= 0;)
if (hand[i] == CARDS)
countcards(int *hand)
count += *hand++;
countbooks(int *hand)
if (hand[i] == CARDS) {
if (pp->hand[0] == C_INIT && Topcard > Deck) {
if (issafety(pp->hand[i])) {
oppos = opposite(pp->hand[i]);
!(pp->hand[i] == C_RIGHT_WAY &&
card = pp->hand[i];
C_name[pp->hand[i]]);
if (issafety(pp->hand[nummin])) { /* NEVER discard a safety */
mvprintw(MOVE_Y + 2, MOVE_X, "%16s", C_name[pp->hand[Card_no]]);
card = pp->hand[i];
pp->hand[0] = C_INIT;
pp->hand[j] = *--Topcard;
sort(Player[PLAYER].hand);
CARD hand[HAND_SZ];
if ((safe = pp->hand[i]) <= C_200)
if (pp->hand[1] == C_INIT && Topcard > Deck) {
pp->hand[1] = *--Topcard;
sort(pp->hand);
if (pp->hand[i] == C_INIT) {
for (j = 0; pp->hand[j] == C_INIT; j++)
pp->hand[i] = pp->hand[j];
pp->hand[j] = C_INIT;
card = pp->hand[i];
switch (pp->hand[Card_no]) {
card = pp->hand[Card_no];
else if (pp->hand[0] == C_INIT && Topcard > Deck)
pp->hand[Card_no] = C_INIT;
switch (pp->hand[Card_no]) {
return (pp->hand[card] != C_INIT);
sort(CARD *hand)
cp = hand;
hand += HAND_SZ;
for ( ; cp < &hand[-1]; cp++)
for (tp = cp + 1; tp < hand; tp++)
if (pp->hand[Card_no] == C_INIT) {
if (issafety(pp->hand[Card_no])) {
Discard = pp->hand[Card_no];
pp->hand[Card_no] = C_INIT;
pp->hand[0] = *--Topcard;
show_card(i + 6, temp, pp->hand[i], &pp->sh_hand[i]);
xfer->act.hand = fw_asy_callback_free;
xfer->act.hand = fw_bus_explore_callback;
void (*hand) (struct fw_xfer*))
xfer->act.hand = hand;
rb->xfer->act.hand = fw_xfer_free;
rb->xfer->act.hand(rb->xfer);
if(xfer->act.hand == NULL){
xferq->hand(xferq);
xfer->act.hand = fw_try_bmr_callback;
xfer->act.hand = fw_xfer_free;
xfer->act.hand(xfer);
if (xfer->act.hand != NULL)
xfer->act.hand(xfer);
xfer->act.hand = fw_vmaccess;
if (xfer->act.hand == NULL) {
xfer->act.hand(xfer);
void (*hand) (struct fw_xferq *);
void (*hand) (struct fw_xfer *);
xfer->act.hand = fw_asy_callback;
xfer->act.hand = hand;
void (*hand)(struct fw_xfer *))
xfer = fwmem_xfer_req(fwdev, (void *)sc, spd, 0, 4, hand);
void (*hand)(struct fw_xfer *))
xfer = fwmem_xfer_req(fwdev, sc, spd, 0, 0, hand);
void (*hand)(struct fw_xfer *))
xfer = fwmem_xfer_req(fwdev, sc, spd, 0, roundup2(len, 4), hand);
void (*hand)(struct fw_xfer *))
xfer = fwmem_xfer_req(fwdev, sc, spd, len, 0, hand);
void *hand)
ir->hand(ir);
xfer->act.hand = sbp_agent_reset_callback;
xfer->act.hand = sbp_do_attach;
xfer->act.hand = sbp_busy_timeout_callback;
xfer->act.hand = sbp_orb_pointer_callback;
xfer->act.hand = sbp_cmd_callback;
xfer->act.hand = sbp_mgm_callback;
xfer->act.hand = sbp_loginres_callback;
xfer->act.hand = sbp_recv;
xfer->act.hand = sbp_reset_start_callback;
xferq->hand = NULL;
xferq->hand = fwe_as_input;
xfer->act.hand = fwe_output_callback;
snd_setup_intr(device_t dev, struct resource *res, int flags, driver_intr_t hand, void *param, void **cookiep)
return bus_setup_intr(dev, res, flags, hand, param, cookiep, NULL);
driver_intr_t hand, void *param, void **cookiep);
signal(SIGSYS, hand);
signal(SIGTRAP, hand);
signal(SIGALRM, hand);
signal(SIGALRM, hand);
signal(SIGILL, hand);
signal(SIGFPE, hand);
signal(SIGSEGV, hand);
signal(SIGBUS, hand);
signal(SIGURG, hand);
if (signal(SIGPIPE, hand) == SIG_ERR)