| Main index | Section 9 | Options |
#include <geom/geom.h>
The g_write_data() function writes length bytes of data from the buffer pointed to by ptr to the provider attached to consumer cp, starting at offset offset.
The topology lock must not be held.
The g_write_data() function returns 0 if successful; otherwise an error code is returned.
| [EIO] | An I/O error occurred while reading from or writing to the consumer. |
| [EINTEGRITY] | |
| Corrupted data was detected while reading from the consumer. | |
| G_DATA (9) | March 30, 2020 |
| Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Like a classics radio station whose play list spans decades, Unix simultaneously exhibits its mixed and dated heritage. There's Clash-era graphics interfaces; Beatles-era two-letter command names; and systems programs (for example, ps) whose terse and obscure output was designed for slow teletypes; Bing Crosby-era command editing (# and @ are still the default line editing commands), and Scott Joplin-era core dumps. | ” |
| — The Unix Haters' handbook | ||