|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
|
Write segment row routines. More...
#include <stdio.h>#include <string.h>#include <errno.h>#include <unistd.h>#include <grass/gis.h>#include <grass/glocale.h>#include "local_proto.h"
Go to the source code of this file.
Functions | |
| int | Segment_put_row (const SEGMENT *SEG, const void *buf, off_t row) |
| Write row to segment file. | |
Write segment row routines.
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file segment/put_row.c.
Write row to segment file.
Transfers non-segmented matrix data, row by row, into a segment file. seg is the segment structure that was configured from a call to Segment_init(). buf should contain ncols*len bytes of data to be transferred to the segment file. row specifies the row from the data matrix being transferred.
| [in,out] | SEG | segment |
| [in] | buf | data to write to segment |
| [in] | row |
Definition at line 43 of file segment/put_row.c.
References _, err(), G_warning(), AMI_STREAM< T >::seek(), and write.