GRASS Programmer's Manual
6.4.3(2013)-r
|
#include <stdio.h>
#include <string.h>
#include <grass/segment.h>
Go to the source code of this file.
Functions | |
int | segment_get (SEGMENT *SEG, void *buf, int row, int col) |
Get value from segment file. More... | |
int | segment_put (SEGMENT *SEG, const void *buf, int row, int col) |
int segment_get | ( | SEGMENT * | SEG, |
void * | buf, | ||
int | row, | ||
int | col | ||
) |
Get value from segment file.
Provides random read access to the segmented data. It gets len bytes of data into value from the segment file seg for the corresponding row and col in the original data matrix.
[in] | seg | |
[in,out] | buf | |
[in] | row | |
[in] | col |
Provides random read access to the segmented data. It gets len bytes of data into buf from the segment file seg for the corresponding row and col in the original data matrix.
[in] | seg | segment |
[in,out] | buf | value return buffer |
[in] | row | |
[in] | col |
Definition at line 48 of file segment/debug.c.
References segment_address(), and segment_pagein().
Referenced by main().
int segment_put | ( | SEGMENT * | SEG, |
const void * | buf, | ||
int | row, | ||
int | col | ||
) |
Definition at line 86 of file segment/debug.c.
References segment_address(), and segment_pagein().