IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 27, 2005, 3:23:01 PM (21 years ago)
Author:
eugene
Message:

substantial work to move kii/kapa call into libkapa, unify RotFont, bDraw functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa/setup/DefineLayout.c

    r5612 r5852  
    55void DefineLayout (int argc, char **argv) {
    66
    7   int i, status, N;
    8   struct sockaddr_un Address;
    9   char temp[100];
     7  int i;
    108 
    119  /** initiate connection with server **/
     
    1513      exit (0);
    1614    }
    17     strcpy (Address.sun_path, argv[1]);
    18     Address.sun_family = AF_UNIX;
    19     sock = socket (AF_UNIX, SOCK_STREAM, 0);
    20     status = connect (sock, (struct sockaddr *) &Address, sizeof (Address));
    21     if (status < 0) {
    22       fprintf (stderr, "kapa - unsuccessful connection: %d\n", status);
    23       exit (0);
    24     }
    25     fcntl (sock, F_SETFL, O_NONBLOCK); 
    26     sprintf (temp, "rm -f %s", argv[1]);
    27     system (temp);
     15    sock = KiiWait (argv[1]);
    2816  }
    2917
Note: See TracChangeset for help on using the changeset viewer.