Update function comment header
This commit is contained in:
parent
2c8fc9fd7f
commit
055c5f9c51
4
buffer.c
4
buffer.c
|
@ -26,8 +26,8 @@
|
||||||
- char o_mode (-1, 0, 1)
|
- char o_mode (-1, 0, 1)
|
||||||
* Return values: pBuffer or NULL
|
* Return values: pBuffer or NULL
|
||||||
* Algorithm: Allocates memory for the buffer descriptor. If successful, do bound
|
* Algorithm: Allocates memory for the buffer descriptor. If successful, do bound
|
||||||
checks on function parameters and assign them to the buffer's variables. Otherwise
|
checks on function parameters and assign them to the buffer's variables. If
|
||||||
return NULL.
|
all is clear, allocate the character buffer. Otherwise return NULL.
|
||||||
*/
|
*/
|
||||||
Buffer* b_create(short init_capacity, char inc_factor, char o_mode) {
|
Buffer* b_create(short init_capacity, char inc_factor, char o_mode) {
|
||||||
pBuffer pBD; /* Pointer to buffer descriptor */
|
pBuffer pBD; /* Pointer to buffer descriptor */
|
||||||
|
|
Loading…
Reference in New Issue