udftools

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
main.c File Reference
`#include "config.h"`
`#include <malloc.h>`
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <sys/types.h>`
`#include <sys/stat.h>`
`#include <fcntl.h>`
`#include <unistd.h>`
`#include <time.h>`
`#include <sys/time.h>`
`#include <errno.h>`
`#include <limits.h>`
`#include <sys/ioctl.h>`
`#include <linux/fs.h>`
`#include <linux/fd.h>`
`#include "mkudffs.h"`
`#include "defaults.h"`
`#include "options.h"`
Include dependency graph for main.c:

Go to the source code of this file.

## Functions
static int | valid_offset (int fd, off_t offset)
uint32_t | get_blocks (int fd, int blocksize, uint32_t opt_blocks)
void | detect_blocksize (int fd, struct udf_disc *disc)
int | write_func (struct udf_disc *disc, struct udf_extent *ext)
int | main (int argc, char *argv[])

## Detailed Description

mkudffs main program and I/O functions

Definition in file main.c.

## Function Documentation

void detect_blocksize | ( | int | fd,
|  | struct udf_disc * | disc
| ) |  |

Definition at line 124 of file main.c.

uint32_t get_blocks | ( | int | fd,
|  | int | blocksize,
|  | uint32_t | opt_blocks
| ) |  |

Definition at line 61 of file main.c.

int main | ( | int | argc,
|  | char * | argv[]
| ) |  |

Definition at line 194 of file main.c.

static int valid_offset | ( | int | fd,
|  | off_t | offset
| ) |  |
| static

Definition at line 50 of file main.c.

int write_func | ( | struct udf_disc * | disc,
|  | struct udf_extent * | ext
| ) |  |

Definition at line 148 of file main.c.