Update function comment header

This commit is contained in:
Victor Fernandes 2017-01-30 14:31:56 -05:00
parent 2c8fc9fd7f
commit 055c5f9c51
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@
- char o_mode (-1, 0, 1)
* Return values: pBuffer or NULL
* Algorithm: Allocates memory for the buffer descriptor. If successful, do bound
checks on function parameters and assign them to the buffer's variables. Otherwise
return NULL.
checks on function parameters and assign them to the buffer's variables. If
all is clear, allocate the character buffer. Otherwise return NULL.
*/
Buffer* b_create(short init_capacity, char inc_factor, char o_mode) {
pBuffer pBD; /* Pointer to buffer descriptor */