OLD | NEW |
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | 1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 /* ***** BEGIN LICENSE BLOCK ***** | 2 /* ***** BEGIN LICENSE BLOCK ***** |
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
4 * | 4 * |
5 * The contents of this file are subject to the Mozilla Public License Version | 5 * The contents of this file are subject to the Mozilla Public License Version |
6 * 1.1 (the "License"); you may not use this file except in compliance with | 6 * 1.1 (the "License"); you may not use this file except in compliance with |
7 * the License. You may obtain a copy of the License at | 7 * the License. You may obtain a copy of the License at |
8 * http://www.mozilla.org/MPL/ | 8 * http://www.mozilla.org/MPL/ |
9 * | 9 * |
10 * Software distributed under the License is distributed on an "AS IS" basis, | 10 * Software distributed under the License is distributed on an "AS IS" basis, |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 #if !defined(SOLARIS) | 228 #if !defined(SOLARIS) |
229 | 229 |
230 #define PR_SET_INTSOFF(newval) | 230 #define PR_SET_INTSOFF(newval) |
231 | 231 |
232 #endif | 232 #endif |
233 | 233 |
234 /************************************************************************/ | 234 /************************************************************************/ |
235 | 235 |
236 extern void _PR_UnixInit(void); | 236 extern void _PR_UnixInit(void); |
237 | 237 |
| 238 extern void _PR_UnixCleanup(void); |
| 239 #define _MD_EARLY_CLEANUP _PR_UnixCleanup |
| 240 |
238 /************************************************************************/ | 241 /************************************************************************/ |
239 | 242 |
240 struct _MDProcess { | 243 struct _MDProcess { |
241 pid_t pid; | 244 pid_t pid; |
242 }; | 245 }; |
243 | 246 |
244 struct PRProcess; | 247 struct PRProcess; |
245 struct PRProcessAttr; | 248 struct PRProcessAttr; |
246 | 249 |
247 /* Create a new process (fork() + exec()) */ | 250 /* Create a new process (fork() + exec()) */ |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 { | 628 { |
626 _MD_Open64 _open64; | 629 _MD_Open64 _open64; |
627 _MD_Mmap64 _mmap64; | 630 _MD_Mmap64 _mmap64; |
628 _MD_Stat64 _stat64; | 631 _MD_Stat64 _stat64; |
629 _MD_Fstat64 _fstat64; | 632 _MD_Fstat64 _fstat64; |
630 _MD_Lseek64 _lseek64; | 633 _MD_Lseek64 _lseek64; |
631 }; | 634 }; |
632 extern struct _MD_IOVector _md_iovector; | 635 extern struct _MD_IOVector _md_iovector; |
633 | 636 |
634 #endif /* prunixos_h___ */ | 637 #endif /* prunixos_h___ */ |
OLD | NEW |