memfrob和strfry? OT [英] memfrob and strfry ? OT
问题描述
我的string.h标头声明了我一直使用的两个函数叫做
memfrob和strfry。它们是加密类型功能。我的手册页说
它们是linux c和gnu c的标准。他们肯定不在我的C书中。
有趣的功能他们在这里是OT但这引起了我的问题。
如果一个函数返回一个指针到一个空白,并且它是第一个参数a
指向void的指针。然后该函数的第一个参数是否接受一个
字符串或指向char或任何其他数据类型的指针,因为参数是
声明为void *?
Bill
My string.h headers declares two functions I have been using called
memfrob and strfry. They are encryption types functions. My man pages say
they are standard to linux c and gnu c. They sure aren''t in my C books.
Interesting functions by they''re OT here but this raises to me a question.
If a function returns a pointer to a void and and as it''s first parameter a
pointer to a void. Then should that function''s first parameter accept a
string or pointer to char or any other data type since the parameter is
declared a void * ?
Bill
推荐答案
在文章< Kl2Zj.25383
In article <Kl2Zj.25383
sX5。 23589 @ trnddc02>,
Bill Cunningham< no **** @ nspam.comwrote:
sX5.23589@trnddc02>,
Bill Cunningham <no****@nspam.comwrote:
我的string.h标头声明了两个我一直在使用的函数名为
memfrob和strfry。
My string.h headers declares two functions I have been using called
memfrob and strfry.
笑?我几乎做到了。
- Richard
-
:wq
Laugh? I almost did.
-- Richard
--
:wq
>
" Richard Tobin" < ri ***** @ cogsci.ed.ac.ukwrote in message
news:g1 *********** @ pc-news.cogsci.ed.ac .uk ...
"Richard Tobin" <ri*****@cogsci.ed.ac.ukwrote in message
news:g1***********@pc-news.cogsci.ed.ac.uk...
笑?我几乎做到了。
- Richard
Laugh? I almost did.
-- Richard
< gigglewell它有点好笑。 Strfry看起来像搅拌器和memfrob
就像某种青蛙。但他们不存在开玩笑。
比尔
<gigglewell it is kinda funny. Strfry looks like stirfry and memfrob
like some kind of frog. But no kidding they exist.
Bill
这篇关于memfrob和strfry? OT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!