We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e80981 commit 48b4b1fCopy full SHA for 48b4b1f
src/libstd/libc.rs
@@ -3226,11 +3226,12 @@ pub mod funcs {
3226
pub mod glob {
3227
use libc::types::os::arch::c95::{c_char, c_int};
3228
use libc::types::os::common::posix01::{glob_t};
3229
+ use option::Option;
3230
3231
extern {
3232
pub fn glob(pattern: *c_char,
3233
flags: c_int,
- errfunc: extern "C" fn(epath: *c_char, errno: int) -> int,
3234
+ errfunc: Option<extern "C" fn(epath: *c_char, errno: int) -> int>,
3235
pglob: *mut glob_t);
3236
pub fn globfree(pglob: *mut glob_t);
3237
}
0 commit comments