| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> moo! <0> you killed mrashe. <1> heh <1> don't tempt me :) <2> is strtok(3) really obsoleted by strsep(3) ? <1> where does it say that? <2> man strtok <1> no, it doesn't say that <2> DESCRIPTION This interface is obsoleted by strsep(3). <2> The strtok() function is used to isolate sequential tokens in a null-ter- <1> you've made a false ***umption <2> in a different flavor: <1> a very, very bad false ***umption <2> BUGS: Avoid using these functions. ... <3> well <2> dbtid: and which ***umption is that?
<1> that the OS you're using is the one that EVERYONE is using. <3> everyone knows my_strtok_r() obsoleted strtok() <1> i'm using OpenBSD 3.7 <3> ;-) <2> i thought you were an openbsd weanie <3> Elliot <1> bah there it is! <1> i missed it <1> This interface is obsoleted by strsep(3). <1> i doubt linux says that <3> the fact that openbsd says that an interface is obsoleted <1> but i'm too lazy to boot one up <3> means that its no longer the one of choice for THIS os <1> but like chat0n is saying <3> not for all of the oses <2> no, it says "avoid using these functions" <1> it's obsoleted by theo <1> not likely anyone else <3> it should be avoided in openbsd <2> and freebsd <0> strsep isn't standard, so you won't find it everywhere as you would strtok or strpbrk or strcspn. <2> so is this where autoconf might come into play? <3> well <3> yeah sortof <3> or <2> * i hate autoconf <3> really ? <3> use pmk then :-) <3> i hate autoconf too <3> and pmk works just fine for me <4> pmk? <4> url? <2> http://pmk.sourceforge.net/ <0> let the hate spread, far and wide. <3> haha <3> yeah <3> pmk doesnt do all the fancy stuff autoconf does <3> but for conditionnal compilation and detection of features <0> down with compiling the same test thousands of times to determine that int is still sizeof(int) bytes. <3> it works just great <4> "PMK is using same style of templates than autoconf. It" <4> how is it better? <0> imake just didn't get enough steam behind it. <3> spale: <3> spale: by template they mean you have a set of macros replaced <3> mmh <3> and i didnt say its better <0> schily's smake is interesting, as well as at&t's iffe. but imake is superior, no need to test things that are already known. <3> <3> and pmk works just fine for me <4> ok, its yaacfcc <4> yet another auto conf for c compilation <4> mine works for me ;) <2> linux has strsep also <2> i suppose i can use it <4> in what is it better? <4> ah, it detects empty fields. <4> Elliot, for such kind of function.. you can really write it yourself in a plain standart manner. <4> its like 5 lines or so. <0> Elliot: not much portability there. hopefully that is sufficient -- though it would be sad.
<2> it's portable enough-- i just make freebsd or netbsd one of my requirements <0> sad. but as you like. <4> come on Elliot lets write this function in your code. <4> its really simple <2> but there are two that exist already <4> so use strtok <4> its standart <1> "standard" <4> thanks ;) <4> 't' is french. I always mix both. <3> you are french ? <4> no <4> but french is my mother language. <4> I'm swiss. <3> really ? <3> you <1> a one-man melting pot :) <3> got to send me chocolate <4> lol <3> *right away* <1> i've got german, italian, polish and irish <4> dbtid, nice ;) <4> french, swissgerman (kind of horrible local dialect), english, german <4> chat0n, where are you ? <4> (dont answer "on IRC") <1> he's in paris iirc <1> "gay paris" <3> spale: paris <4> was there a few weeks ago <3> oh <4> at the FRnOG meeting. <3> if you had come to my place, i had beers and a barbecue <3> ;-) <3> FRnOG ? <4> French Network Operators Group <4> www.frnog.org <4> I'm somehow, co-founder of it even if I'm not french ;p <3> it isnt affiliated to CERT rigt ? <4> nope. <4> "FRnOG is not a legal entity. There is no formal membership or organisation, and no fees." <3> ok <4> basicly its a mailing list + 2-3 meetings a year. <4> you're in networking? <3> what do you mean by ' in networking ' <4> if you work with networks... IP <5> what words can i use for identifier: 1x1wert, _MyVar, v01, for, Hilfe ? <5> all without for, is that right ? <4> Jackson_83, in which school are you? <3> well i work with networks <5> because for is reserved in c <3> but im not working for an ISP <3> ;-) <4> Jackson_83, why do you ask if you know? <5> i'm not sure <6> Jackson_83: you can always get a compiler and try those out <4> chat0n, you're also coding with networking? <5> k <7> Well... one of those is reserved but the compiler doesn't have to complain. <7> So testing them with a compiler won't necessarily catch all bugs. <3> spale, yeah a lot <4> Jackson_83, you're in a german school right? <4> chat0n, I love it ;) <5> sure <4> chat0n, I'm fan of kqueue on freebsd <3> i havent done much kernel yet <3> im still reading design and implementation of the freebsd OS <3> ;-) <3> i mostly code userland <0> only two of them cause problems. easily caught with a test. <4> chat0n, kqueue is userland. its a waaaaay enhanced equivalent of select() <3> oh <3> kevents ! <4> chat0n, you can handle 20'000 sockets events with 20% cpu on a P3 1Ghz
Return to
#c or Go to some related
logs:
#AllNiteCafe beep through internal speaker #php xen resize imagefile #php c++ std string tokeniser #linux #c abaclia #javascript
|
|