Link Search Menu Expand Document

resize_mbx_421

long resize_mbx_421(const char __user *name, unsigned long size);

Description

Modifies the maximum size of the mailbox. You must reallocate memory to do this and only modify the mailbox if successful.

Parameters

  • name: Same as create_mbx. Must refer to an existing mailbox
  • size: The new size (in bytes) to resize the mailbox to

Return

On success the function should return 0. Otherwise the function must return an appropriate error code as discussed in the system description.