Changeset 6eb2e96 in mainline for uspace/app/tetris/tetris.c


Ignore:
Timestamp:
2009-04-10T07:53:54Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
3cc6a52
Parents:
f4b1535
Message:

str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/tetris.c

    rf4b1535 r6eb2e96  
    312312                }
    313313                if (keys[i] == ' ')
    314                         str_ncpy(key_write[i], "<space>", sizeof key_write[i]);
     314                        str_cpy(key_write[i], sizeof key_write[i], "<space>");
    315315                else {
    316316                        key_write[i][0] = keys[i];
Note: See TracChangeset for help on using the changeset viewer.