
I found recently that I needed fsync and was pleasantly surprized to find that it is provided in the posix module, where available. Can I count on it staying in the posix module, when available, for the forseeable future? Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.

Since we seem to be on an adding spree, I don't see why not -- as long as POSIX keeps it available :) --Guido van Rossum (home page: http://www.python.org/~guido/)

Guido van Rossum writes:
Since we seem to be on an adding spree, I don't see why not -- as long as POSIX keeps it available :)
fsync() isn't listed in O'Reilly's POSIX book, so it's probably not in the POSIX spec. Neither is the tempnam() function I added in yesterdays spree, though tmpfile() and tmpnam() are. -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives

"Fred L. Drake, Jr." wrote:
It's not, it's in XPG3 (sp?), but I wasn't going t bring that up. ;) I'd still like it to stay, where available. :) Jim -- Jim Fulton mailto:jim@digicool.com Technical Director (888) 344-4332 Python Powered! Digital Creations http://www.digicool.com http://www.python.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.

Jim Fulton writes:
It's not, it's in XPG3 (sp?), but I wasn't going t bring that up. ;)
I don't have that one, but I certainly don't have any plans on ripping out fsync(). Not today, at any rate. ;) -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives

Gordon McMillan writes:
It's in the other O'Reilly POSIX book, p 348 of POSIX.4.
Ah, I don't have that either. I thought POSIX.4 was real-time stuff. (If anyone wants to send a copy along, I'd be glad to consider adding reasonable interfaces for Python. ;) -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives

Fred wrote:
Well, it says it is, but having done some stuff with automated warehouses, I'm always amazed at how people will use the term "real-time". I'd say "pretty likely to be responsive" ;-).
(If anyone wants to send a copy along, I'd be glad to consider adding reasonable interfaces for Python. ;)
Only around 70 documented functions, but many of them appear to be tweaks, or redocumenting stuff in view of new kernel behaviors. - Gordon

Gordon McMillan writes:
Oh, a manager's interpretation of real-time: "I want this by close of business next Wednesday!"
Anything that should be added anywhere? Failing all else, I can probably read the man pages if I know what to look for. ;-) -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives

Fred> I thought POSIX.4 was real-time stuff. This all seems to be happening in real-time to me... ;-) Skip Montanaro | http://www.mojam.com/ skip@mojam.com | http://www.musi-cal.com/ 847-971-7098 | Python: Programming the way Guido indented...

Fred L. Drake, Jr. <fdrake@acm.org> wrote:
instead of guessing, you can get a complete list from: http://www.unix-systems.org/apis.html reading up on the "single unix specification" should also help: http://www.unix-systems.org/online.html (registration required; contains complete man pages for all functions covered by the UNIX95 and UNIX98 specification) </F>

Since we seem to be on an adding spree, I don't see why not -- as long as POSIX keeps it available :) --Guido van Rossum (home page: http://www.python.org/~guido/)

Guido van Rossum writes:
Since we seem to be on an adding spree, I don't see why not -- as long as POSIX keeps it available :)
fsync() isn't listed in O'Reilly's POSIX book, so it's probably not in the POSIX spec. Neither is the tempnam() function I added in yesterdays spree, though tmpfile() and tmpnam() are. -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives

"Fred L. Drake, Jr." wrote:
It's not, it's in XPG3 (sp?), but I wasn't going t bring that up. ;) I'd still like it to stay, where available. :) Jim -- Jim Fulton mailto:jim@digicool.com Technical Director (888) 344-4332 Python Powered! Digital Creations http://www.digicool.com http://www.python.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.

Jim Fulton writes:
It's not, it's in XPG3 (sp?), but I wasn't going t bring that up. ;)
I don't have that one, but I certainly don't have any plans on ripping out fsync(). Not today, at any rate. ;) -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives

Gordon McMillan writes:
It's in the other O'Reilly POSIX book, p 348 of POSIX.4.
Ah, I don't have that either. I thought POSIX.4 was real-time stuff. (If anyone wants to send a copy along, I'd be glad to consider adding reasonable interfaces for Python. ;) -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives

Fred wrote:
Well, it says it is, but having done some stuff with automated warehouses, I'm always amazed at how people will use the term "real-time". I'd say "pretty likely to be responsive" ;-).
(If anyone wants to send a copy along, I'd be glad to consider adding reasonable interfaces for Python. ;)
Only around 70 documented functions, but many of them appear to be tweaks, or redocumenting stuff in view of new kernel behaviors. - Gordon

Gordon McMillan writes:
Oh, a manager's interpretation of real-time: "I want this by close of business next Wednesday!"
Anything that should be added anywhere? Failing all else, I can probably read the man pages if I know what to look for. ;-) -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives

Fred> I thought POSIX.4 was real-time stuff. This all seems to be happening in real-time to me... ;-) Skip Montanaro | http://www.mojam.com/ skip@mojam.com | http://www.musi-cal.com/ 847-971-7098 | Python: Programming the way Guido indented...

Fred L. Drake, Jr. <fdrake@acm.org> wrote:
instead of guessing, you can get a complete list from: http://www.unix-systems.org/apis.html reading up on the "single unix specification" should also help: http://www.unix-systems.org/online.html (registration required; contains complete man pages for all functions covered by the UNIX95 and UNIX98 specification) </F>
participants (6)
-
Fred L. Drake, Jr.
-
Fredrik Lundh
-
Gordon McMillan
-
Guido van Rossum
-
Jim Fulton
-
Skip Montanaro