Skip to content

Commit 0fe6bab

Browse files
committed
rtapi fix shmem comment
1 parent d04578b commit 0fe6bab

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/rtapi/rtapi.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -431,11 +431,10 @@ RTAPI_BEGIN_DECLS
431431
'module_id' is the ID of the module that is making the call (see
432432
rtapi_init). The block will be at least 'size' bytes, and may
433433
be rounded up. Allocating many small blocks may be very wasteful.
434-
When a particular block is allocated for the first time, the first
435-
4 bytes are zeroed. Subsequent allocations of the same block
434+
When a particular block is allocated for the first time, all
435+
bytes are zeroed. Subsequent allocations of the same block
436436
by other modules or processes will not touch the contents of the
437-
block. Applications can use those bytes to see if they need to
438-
initialize the block, or if another module already did so.
437+
block.
439438
On success, it returns a positive integer ID, which is used for
440439
all subsequent calls dealing with the block. On failure it
441440
returns a negative error code. Call only from within user or

0 commit comments

Comments
 (0)