I hereby claim:
- I am schaeferpp on github.
- I am schaeferpp (https://keybase.io/schaeferpp) on keybase.
- I have a public key whose fingerprint is 24A0 A941 1CC8 354C 71AC D060 83A0 7ED1 181F 99E3
To claim this, I am signing this object:
/****************************************************************************** | |
* | |
* file: main.c | |
* date: 2015-09-30 | |
* author: Paul Schaefer | |
* | |
* Print some datatype sizes | |
* | |
*****************************************************************************/ |
-rw-r--r-- 1 root root 18 Sep 15 05:47 /usr/lib/libncurses.so | |
-rw-r--r-- 1 root root 20 Sep 15 05:47 /usr/lib/libncurses++.so | |
lrwxrwxrwx 1 root root 18 Sep 15 05:47 /usr/lib/libncurses++w.so -> libncurses++w.so.6 | |
lrwxrwxrwx 1 root root 16 Sep 15 05:47 /usr/lib/libncursesw.so -> libncursesw.so.6 | |
lrwxrwxrwx 1 root root 20 Sep 15 05:47 /usr/lib/libncurses++w.so.6 -> libncurses++w.so.6.0 | |
lrwxrwxrwx 1 root root 18 Sep 15 05:47 /usr/lib/libncursesw.so.6 -> libncursesw.so.6.0 | |
-rwxr-xr-x 1 root root 77256 Sep 15 05:47 /usr/lib/libncurses++w.so.6.0 | |
-rwxr-xr-x 1 root root 444680 Sep 15 05:47 /usr/lib/libncursesw.so.6.0 |
#define REGISTRATION_MESSAGE 1 | |
#define REGISTRATION_ACK 2 | |
#define PEER_INFO 3 | |
#define PEER_INFO_ACK 4 | |
#define SET_COLUMN 5 | |
#define SET_COLUMN_ACK 6 | |
#define HB 7 | |
#define HB_ACK 8 | |
#define ERROR 9 |
int | |
main(int argc, | |
char *argv[]) | |
{ | |
struct gameinfo peer; | |
int start; | |
heartbeat_message *msg; | |
if (argc == 4) | |
{ |
printf("memcpy userlen %d bytes into msg %d bytes, from offset %d\n", | |
data->userlen, len, (((char *) &(msg->val)) - ((char *) msg))); | |
memcpy (msg->val, data->name, (size_t) data->userlen); | |
memcpy userlen 8 bytes into msg 20 bytes, from offset 12 | |
================================================================= |
I hereby claim:
To claim this, I am signing this object: