diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2017-04-22 19:11:37 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2017-04-22 19:11:37 +0000 |
| commit | ef8f85c6b9f04465753129fb5d7ae1761d752152 (patch) | |
| tree | 6df0487560a982ed30ea47a2811c419d0806f916 /lib/libgeom/libgeom.3 | |
| parent | 780154cbaf05974ce9b991b948a2e645626e55cd (diff) | |
Notes
Diffstat (limited to 'lib/libgeom/libgeom.3')
| -rw-r--r-- | lib/libgeom/libgeom.3 | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/lib/libgeom/libgeom.3 b/lib/libgeom/libgeom.3 index bda0c9d03c34..566d09243f61 100644 --- a/lib/libgeom/libgeom.3 +++ b/lib/libgeom/libgeom.3 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 4, 2010 +.Dd April 22, 2017 .Dt LIBGEOM 3 .Os .Sh NAME @@ -324,8 +324,8 @@ The .Fn g_device_path function returns the full path to a provider given a partial or full path to the device node. -If the device can not be found or is not a valid geom provider, NULL is -returned. +.Dv NULL +is returned if the device cannot be found or is not a valid geom provider. .Pp The .Fn g_get_ident @@ -344,20 +344,19 @@ string. .Pp The .Fn g_open_by_ident -function opens provider using its ident, unlike +function opens provider using its identification, unlike .Fn g_open -which uses provider's name. -If the +which uses the provider's name. +The function will store the provider's name in the .Fa name -argument is not -.Dv NULL , -the function will store provider's name there. +parameter if it is not +.Dv NULL . .Pp The .Fn g_providername function returns the provider name of an open file descriptor. -If the file descriptor does not point to a valid geom provider, NULL is -returned. +.Dv NULL +is returned the file descriptor does not point to a valid geom provider. .Pp All functions except .Fn g_providername |
