You can search for identifiers within the package.
in-package search v0.2.0
type t =
| O_RDONLY
| O_WRONLY
| O_RDWR
| O_NONBLOCK
| O_APPEND
| O_CREAT
| O_TRUNC
| O_EXCL
| O_NOCTTY
| O_DSYNC
| O_SYNC
| O_RSYNC
| O_SHARE_DELETE
| O_CLOEXEC
| O_KEEPEXEC
| O_NOFOLLOW
| O_DIRECTORY
| O_PATH
val sexp_of_t : t -> Sexplib0.Sexp.t
val to_unix_open_flag_exn : t -> Unix.open_flag
val of_unix_open_flag : Unix.open_flag -> t