/* LINTLIBRARY */ /* PROTOLIB1 */ /* * Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved. */ #include /* * usr/src/lib/libefi */ /* rdwr_efi.c */ int efi_alloc_and_init(int fd, uint32_t nparts, struct dk_gpt **vtoc); int efi_alloc_and_read(int fd, struct dk_gpt **vtoc); int efi_write(int fd, struct dk_gpt *vtoc); void efi_free(struct dk_gpt *); int efi_use_whole_disk(int fd);