The HyperNews Linux KHG Discussion Pages

## /proc and own entries & functions (parameter "loff_t *") ?

  Forum: Filesystems
  Keywords: proc functions loff_t arguments
  Date: Thu, 25 Jun 1998 13:42:20 GMT
  From: Juha Laine <james@cs.tut.fi>

    Hi.

    I'd like to know what is the purpose of the last (4th)
    argument of the proc file system operating functions like
    read and write ? The type of the argument is "loff_t *".

    When, how and why that (? offset ?) argument should be used
    and when it can be ignored ?
    ( i.e. what is the meaning of the argument )

    Other things/arguments were obvious or I figured them out
    by "using the source" but I just didn't find out the correct
    way to use that argument...

    Thank U.