我在哪里可以找到“fseek()”的函数体。和“ftell()” [英] Where could I find function body of "fseek()" and "ftell()"

查看:101
本文介绍了我在哪里可以找到“fseek()”的函数体。和“ftell()”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,

在头文件''stdio.h''中,我只找到这两个功能的原型但是

没有身体。

有人可以告诉我他们的尸体在哪里吗?


--------------

生命是神奇的。

Hey,
In head file ''stdio.h'', I only find the prototype of these two function but
no body.
Could someone pls tell me where their bodies are ?

--------------
Life is magical.

推荐答案

陈树生写道:
Chen ShuSheng wrote:

嘿,
Hey,




Hey


在头文件''stdio.h''中,我只找到这两个函数的原型但是

没有身体。
In head file ''stdio.h'', I only find the prototype of these two function but
no body.



这就是它的工作原理,包含头文件包含函数

原型而不是定义。

That''s how it works , include headers contain function
prototypes not definitions.


有人可以告诉我他们的尸体在哪里吗?
Could someone pls tell me where their bodies are ?



在您使用的C库中编写

的个人或组织的文件中。该人或组织可以

或者可能没有决定制定这些定义

公开可用。例如,如果您使用GNU

编译器,那么源代码将公开可用(但是我不知道
我不知道在哪里。)与其他实现

它可能不会。所以,如果你告诉我们你使用了什么实现,我们或许可以告诉你或指导你到一个

的新闻组。

Spiros Bousbouras

In the files of the person or organization who wrote
the C library you use.That person or organization may
or may not have decided to make these definitions
publically available. If for example you''re using the GNU
compiler then the source will be publically available (but I
don''t know where off top of my head). With other implementations
it may not. So if you tell us which implementation you''re
using we might be able to tell you or direct you to an
appropriate newsgroup.

Spiros Bousbouras


陈树生写道:


(关于fseek和ftell)
Chen ShuSheng wrote:

(about fseek and ftell)

嘿,

在头文件''stdio.h''中,我只找到这两个函数的原型但是

没有身体。
Hey,
In head file ''stdio.h'', I only find the prototype of these two function but
no body.



这就是应该如何。

That''s how it''s supposed to be.


有人可以告诉我他们的身体在哪里?
Could someone pls tell me where their bodies are ?



假设我们可以,你想做什么?

会有什么不同?请记住,这些函数的代码是

特定于实现。


如果你想知道他们/应该/做什么,请阅读

他们在标准或手册页中的描述或一些

适当的C书。


-

Chris" seeker" Dollin

过去的好日子曾经好多了。

Supposing we could, what difference would it make to whatever
you want to do? Remember that the code for these functions is
implementation-specific.

If you want to find out what they''re /supposed/ to do, read
their descriptions in the Standard or man pages or some
appropriate C book.

--
Chris "seeker" Dollin
The "good old days" used to be much better.




< sp **** @ gmail.com>

??????:11**********************@b28g2000cwb.google groups.com ...

<sp****@gmail.com>
??????:11**********************@b28g2000cwb.google groups.com...

Chen ShuSheng写道:
Chen ShuSheng wrote:

>嘿,
>Hey,






我不知道在哪里。与其他实现

它可能不会。所以,如果你告诉我们你使用了什么实现,我们或许可以告诉你或指导你到一个

的新闻组。

Spiros Bousbouras


Hey

don''t know where off top of my head). With other implementations
it may not. So if you tell us which implementation you''re
using we might be able to tell you or direct you to an
appropriate newsgroup.

Spiros Bousbouras



我的实现环境是:Borland TC2.0。

你能解释什么是特定于实现的吗?我不确定。

My implementation evironment is : Borland TC2.0.
Could you explain what is implementation-specific? I am not sure of that.


这篇关于我在哪里可以找到“fseek()”的函数体。和“ftell()”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆