Hello,
I noticed that bcopy, memcpy and memmove functions are doing exactly the same job but they are differently describe in manual pages. The only difference between this 3 functions is that bcopy has different parameter order and doesnt return anything. The 'body' of this 3 functions is exectly the same. Its a little confusing because in man pages it is written that memmove copy, is always done in a non-destructive manner, but memcpy is doing the same job and man pages dont say that.
I think if functions are doing the same job and have the same code they should not be describe different in manual pages. What do you think about this?
Best regards
I noticed that bcopy, memcpy and memmove functions are doing exactly the same job but they are differently describe in manual pages. The only difference between this 3 functions is that bcopy has different parameter order and doesnt return anything. The 'body' of this 3 functions is exectly the same. Its a little confusing because in man pages it is written that memmove copy, is always done in a non-destructive manner, but memcpy is doing the same job and man pages dont say that.
I think if functions are doing the same job and have the same code they should not be describe different in manual pages. What do you think about this?
Best regards