get_removable_partition(9)

NAME

get_removable_partition - Get removable media partition.

SYNOPSIS

int  get_removable_partition  (struct  devfs_entry   *dir,
const char *name, unsigned int namelen);

ARGUMENTS

dir The parent directory.

name The name of the entry.

namelen The number of characters in
<<name>>.

DESCRIPTION

Returns 1 if the media was changed, else 0.

This function may block, and may indirectly cause the
directory contents to be changed due to partition re-read
ing. The directory must be locked for reading upon entry,
and will be unlocked upon exit.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout