Link Search Menu Expand Document

list_mbx_421

long list_mbx_421(char __user  **list, unsigned long max_entries);

Description

Copies up to max_entries names of mailboxes into the array pointed by list

Parameters

  • list: A user-space pointer to an array of char*. Assume each pointer points to a region of memory with 64 bytes
  • max_entries: The maximum number of entries to copy

Return

On success the function should return the amount of entires copied. This should less than or equal to max_entries. Otherwise the function must return an appropriate error code as discussed in the system description.