lib/libcam/cam.3: note that cam_freeccb(3) with ccb == NULL is a no-op
This allows me to accurately test this scenario, and for others to rely on the behavior, instead of relying on knowledge obtained via code inspection. Wording borrowed from free(3). MFC after: 1 week Requested by: ken (D9928) Reviewed by: imp Sponsored by: Dell EMC Isilon Differential Revision: D9969
This commit is contained in:
parent
1a7bb4a7a9
commit
5de0b10360
@ -302,6 +302,11 @@ structure.
|
||||
.Fn cam_freeccb
|
||||
frees CCBs allocated by
|
||||
.Fn cam_getccb .
|
||||
If
|
||||
.Va ccb
|
||||
is
|
||||
.Dv NULL ,
|
||||
no action is taken.
|
||||
.Pp
|
||||
.Fn cam_path_string
|
||||
takes as arguments a
|
||||
|
Loading…
x
Reference in New Issue
Block a user