MCPcopy Create free account
hub / github.com/F-Stack/f-stack / shm_close

Function shm_close

freebsd/kern/uipc_shm.c:579–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579static int
580shm_close(struct file *fp, struct thread *td)
581{
582 struct shmfd *shmfd;
583
584 shmfd = fp->f_data;
585 fp->f_data = NULL;
586 shm_drop(shmfd);
587
588 return (0);
589}
590
591static int
592shm_copyin_path(struct thread *td, const char *userpath_in, char **path_out) {

Callers

nothing calls this directly

Calls 1

shm_dropFunction · 0.85

Tested by

no test coverage detected