Query: seq_open
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SEQ_OPEN(9) The Linux VFS SEQ_OPEN(9)NAMEseq_open - initialize sequential fileSYNOPSISint seq_open(struct file * file, const struct seq_operations * op);ARGUMENTSfile file we initialize op method table describing the sequenceDESCRIPTIONseq_open sets file, associating it with a sequence described by op. op->start sets the iterator up and returns the first element of sequence. op->stop shuts it down. op->next returns the next element of sequence. op->show prints element into the buffer. In case of error ->start and ->next return ERR_PTR(error). In the end of sequence they return NULL. ->show returns 0 in case of success and negative number in case of error. Returning SEQ_SKIP means "discard this element and move on".COPYRIGHTKernel Hackers Manual 3.10 June 2014 SEQ_OPEN(9)
Related Man Pages |
---|
iconv(3) - linux |
asn1_der_decoding_startend(3) - debian |
iconv(3) - centos |
iconv(3) - x11r4 |
iconv(3) - osx |
Similar Topics in the Unix Linux Community |
---|
can a linux kernel module call libc functions? |