From c3b9d9db9d3ec74adaf28db1aad4d9cac1c66cfa Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Fri, 4 May 2018 09:14:31 -0600 Subject: [PATCH] added documentation --- src/clib/pio_darray.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/clib/pio_darray.c b/src/clib/pio_darray.c index 9225ab86ab0..b4985f445fd 100644 --- a/src/clib/pio_darray.c +++ b/src/clib/pio_darray.c @@ -372,6 +372,20 @@ int PIOc_write_darray_multi(int ncid, const int *varids, int ioid, int nvars, return PIO_NOERR; } +/** + * Find the fill value that would be used for a variable, if fill mode + * was turned on. + * + * @param ncid File ID. + * @param varid Variable ID. + * @param pio_type Type of the variable. + * @param type_size Size of one element of this type. + * @param fillvalue Pointer that will get the fill value. + * + * @return 0 for success, error code otherwise. + * @ingroup PIO_write_darray + * @author Ed Hartnett + */ static int pio_inq_var_fill_expected(int ncid, int varid, int pio_type, PIO_Offset type_size, void *fillvalue)