mq.c (f4213b9006a6ccb41a3e5463038c6f142c10405f) mq.c (ddce1c3ddbfb773c2ee1343721f4e5bbe07186d0)
1/*-
2 * Copyright (c) 2006 David Xu <davidxu@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 258 unchanged lines hidden (view full) ---

267
268int
269__mq_unlink(const char *path)
270{
271
272 return __sys_kmq_unlink(path);
273}
274
1/*-
2 * Copyright (c) 2006 David Xu <davidxu@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 258 unchanged lines hidden (view full) ---

267
268int
269__mq_unlink(const char *path)
270{
271
272 return __sys_kmq_unlink(path);
273}
274
275#pragma weak mq_getfd_np
275int
276int
276__mq_oshandle(mqd_t mqd)
277mq_getfd_np(mqd_t mqd)
277{
278
279 return (mqd->oshandle);
280}
278{
279
280 return (mqd->oshandle);
281}