diff options
author | Benji Dial <benji6283@gmail.com> | 2020-09-20 14:50:12 -0400 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2020-09-20 14:50:12 -0400 |
commit | fadd46012c9974931add6c36e69636d3cbc6906f (patch) | |
tree | d1af6084772830074be18cf7a9dd93c2ec3d3f59 /src/user/include/knob/block.h | |
parent | de20d7430df08731d9108acb83e1234ba7f1fe16 (diff) | |
download | portland-os-fadd46012c9974931add6c36e69636d3cbc6906f.tar.gz |
history when getting line from user in knob
Diffstat (limited to 'src/user/include/knob/block.h')
-rw-r--r-- | src/user/include/knob/block.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/user/include/knob/block.h b/src/user/include/knob/block.h index 43137e1..56d3740 100644 --- a/src/user/include/knob/block.h +++ b/src/user/include/knob/block.h @@ -10,4 +10,7 @@ bool blockequ(const void *a, const void *b, uint32_t size) __attribute__ ((__pur //returns length without null-terminator uint32_t strcpy(char *to, const char *from); +//allocates new memory +char *strdup(const char *from); + #endif
\ No newline at end of file |