{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

Linux环境编程:从应用到内核

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

Linux环境编程:从应用到内核

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

Linux领域*一本将应用编程与内核实现相结合的图书
Linux环境编程的进阶指导,帮助应用开发人员快速深入内核,解析Linux接口的工作原理,清楚掌握Linux系统运行机制
Content Description

《UNIX环境高级编程》(简称APUE)几乎是Linux领域程序员人手必备的一本书。但在掌握和理解APUE的内容后,又该如何继续提高自己的技能,如何更深入地理解Linux环境编程及其背后的工作机制呢?本书将从一个全新的角度带领读者重新进入Linux环境编程,从应用出发,深入内核源码,研究Linux各接口的工作机制和原理,让读者不仅知其然,还知其所以然。作为Linux开发工程师,如果不仅掌握Linux的应用层开发,同时还熟悉Linux的内核源码,那么其在Linux环境下设计开发任何产品都将游刃有余,稳定且高效。
本书是Linux技术专家高峰和李彬的合力之作,是两个人多年开发经验的总结和分享,也是市场上唯一一本将Linux应用态与内核态相结合的技术图书,选择这种写作方式是为了向APUE的作者致敬。本书涵盖了APUE中大部分章节的内容,并针对Linux环境,以作者多年经验,详细解析了Linux常用接口的使用方法和陷阱。为了让读者更清楚地理解接口的工作原理,对于绝大部分接口,作者都会深入C库或内核源码进行全面分析。希望本书可以帮助读者打通Linux环境的应用和内核两条脉络,使两条线融会贯通,进一步提高开发水平。

Author Description

高峰,北京理工大学通信与信息系统专业硕士学位。毕业后在A10 Networks公司工作六年多,任职Staff Software Engineer,目前在创业公司全讯汇聚(爱快路由)担任技术总监。多年来一直专注于网络领域,熟悉Linux内核、应用及服务端的设计、开发和架构,对TCP/IP网络协议有深刻的认识和理解。编码功力深厚,知识领域广博,擅长产品的性能改进和调优。撰写过大量技术文章,并为多个知名开源项目贡献过代码。

李彬,东南大学信号与信息处理专业硕士。毕业后先后任职中兴通讯、趋势科技,目前在存储公司Bigtera担任SEG部门技术负责人。一直专注于Linux平台下的开发,多年分布式存储开发经验,熟悉Linux内核,编程基本功扎实,对性能优化、bug定位有异乎寻常的爱好,属于“死磕派”研发工程师。喜欢技术分享和交流,在社区和公司内部分享过大量技术文章。
Comments

李彬是一个内敛且内秀的人,平日不多的话语并不影响他隽秀的文笔和缜密的思路。他通过各种隐喻的方式,将很多复杂甚至庞杂的问题,抽丝剥茧,层层分解,将其*内在的部分展现在你的面前。文中有大道至简的锦章佳句,也不乏诙谐幽默的流行俗语,雅俗并济但完全不显突兀和生硬,所有的一切都是为了让读者更好地理解书中的内容。区别于其他编程图书中大量代码示例的堆叠和罗列、各种长篇大论的代码走读分析,本书从环境入手,对环境进行剖析,一切娓娓道来,由浅入深;通过精致的小工具或者小程序,让读者快速探索环境,了解环境,熟悉环境,从而进一步利用环境,改造环境。
——李铜舒(Bruce Lee) Bigtera研发副总裁

高峰根据自己多年的编程经验, 深入浅出地介绍了Linux下C编程常用的方方面面。这是一本很棒的学习用书,特别是他还总结了自己编程中遇到的有趣问题,了解这些问题对提高程序员的编程技能是很有帮助的。*后一章值得精读。
——李海涛A10 Networks Senior Manager

本书可以说是继承了W. Richard Stevens的《UNIX环境高级编程》的优秀传统并有所超*,它重点介绍并剖析了Linux内核所提供的API以及API在内核中的实现,同时描述了glibc对Linux API的封装,以及使用某些glibc函数时遇到的问题。不管是内容的广度还是深度,本书都达到了《UNIX环境高级编程》的高度。而且由于Linux的开源特性,让我们有机会更深入地了解API实现的细节,这对我们写出更高效、更健壮的程序很有帮助。“知其然,知其所以然”应该是每个程序员的追求,如果你对Linux环境下的编程感兴趣,并希望了解更多的话,本书不容错过。
——朱小平 阿里巴巴高级技术专家

本书非常全面地介绍了Linux环境下编程所需的技术和知识,分析深入浅出,理论与实践相结合,且都是作者经验之谈,即使如我这般在Linux下使用C编程超过10年的程序员也是受益良多。因此,无论你是初学还是提升,本书都值得一读。
——夏舰波 华为资深研发工程师
Catalogue

前言
第0章基础知识1
0.1一个Linux程序的诞生记1
0.2程序的构成2
0.3程序是如何“跑”的4
0.4背景概念介绍5
0.4.1系统调用5
0.4.2C库函数6
0.4.3线程安全7
0.4.4原子性9
0.4.5可重入函数9
0.4.6阻塞与非阻塞11
0.4.7同步与非同步11
第1章文件I/O12
1.1Linux中的文件12
1.1.1文件、文件描述符和文件表12
1.1.2内核文件表的实现13
1.2打开文件14
1.2.1open介绍14
1.2.2更多选项15
1.2.3open源码跟踪16
1.2.4如何选择文件描述符17
1.2.5文件描述符fd与文件管理结构file18
1.3creat简介19
1.4关闭文件19
1.4.1close介绍19
1.4.2close源码跟踪19
1.4.3自定义files_operations21
1.4.4遗忘close造成的问题22
1.4.5如何查找文件资源泄漏25
1.5文件偏移26
1.5.1lseek简介26
1.5.2小心lseek的返回值26
1.5.3lseek源码分析27
1.6读取文件29
1.6.1read源码跟踪29
1.6.2部分读取30
1.7写入文件31
1.7.1write源码跟踪31
1.7.2追加写的实现33
1.8文件的原子读写33
1.9文件描述符的复制34
1.10文件数据的同步38
1.11文件的元数据41
1.11.1获取文件的元数据41
1.11.2内核如何维护文件的元数据42
1.11.3权限位解析43
1.12文件截断45
1.12.1truncate与ftruncate的简单介绍45
1.12.2文件截断的内核实现45
1.12.3为什么需要文件截断48
第2章标准I/O库50
2.1stdin、stdout和stderr50
2.2I/O缓存引出的趣题51
2.3fopen和open标志位对比52
2.4fdopen与fileno55
2.5同时读写的痛苦56
2.6ferror的返回值57
2.7clearerr的用途57
2.8小心fgetc和getc60
2.9注意fread和fwrite的返回值60
2.10创建临时文件61
第3章进程环境66
3.1main是C程序的开始吗66
3.2“活雷锋”exit70
3.3atexit介绍75
3.3.1使用atexit75
3.3.2atexit的局限性76
3.3.3atexit的实现机制77
3.4小心使用环境变量78
3.5使用动态库80
3.5.1动态库与静态库80
3.5.2编译生成和使用动态库80
3.5.3程序的“平滑无缝”升级82
3.6避免内存问题84
3.6.1尴尬的realloc84
3.6.2如何防止内存越界85
3.6.3如何定位内存问题86
3.7“长跳转”longjmp90
3.7.1setjmp与longjmp的使用90
3.7.2“长跳转”的实现机制91
3.7.3“长跳转”的陷阱93
第4章进程控制:进程的一生96
4.1进程ID96
4.2进程的层次98
4.2.1进程组99
4.2.2会话102
4.3进程的创建之fork()103
4.3.1fork之后父子进程的内存关系104
4.3.2fork之后父子进程与文件的关系107
4.3.3文件描述符复制的内核实现110
4.4进程的创建之vfork()115
4.5daemon进程的创建117
4.6进程的终止119
4.6.1_exit函数119
4.6.2exit函数120
4.6.3return退出122
4.7等待子进程122
4.7.1僵尸进程122
4.7.2等待子进程之wait()124
4.7.3等待子进程之waitpid()126
4.7.4等待子进程之等待状态值129
4.7.5等待子进程之waitid()131
4.7.6进程退出和等待的内核实现133
4.8exec家族141
4.8.1execve函数141
4.8.2exec家族142
4.8.3execve系统调用的内核实现144
4.8.4exec与信号151
4.8.5执行exec之后进程继承的属性152
4.9system函数152
4.9.1system函数接口153
4.9.2system函数与信号156
4.10总结157
第5章进程控制:状态、调度和优先级158
5.1进程的状态158
5.1.1进程状态概述159
5.1.2观察进程状态171
5.2进程调度概述173
5.3普通进程的优先级181
5.4完全公平调度的实现186
5.4.1时间片和虚拟运行时间186
5.4.2周期性调度任务190
5.4.3新进程的加入192
5.4.4睡眠进程醒来198
5.4.5唤醒抢占202
5.5普通进程的组调度204
5.6实时进程207
5.6.1实时调度策略和优先级207
5.6.2实时调度相关API211
5.6.3限制实时进程运行时间213
5.7CPU的亲和力214
第6章信号219
6.1信号的完整生命周期219
6.2信号的产生220
6.2.1硬件异常220
6.2.2终端相关的信号221
6.2.3软件事件相关的信号223
6.3信号的默认处理函数224
6.4信号的分类227
6.5传统信号的特点228
6.5.1信号的ONESHOT特性230
6.5.2信号执行时屏蔽自身的特性232
6.5.3信号中断系统调用的重启特性233
6.6信号的可靠性236
6.6.1信号的可靠性实验236
6.6.2信号可靠性差异的根源240
6.7信号的安装243
6.8信号的发送246
6.8.1kill、tkill和tgkill246
6.8.2raise函数247
6.8.3sigqueue函数247
6.9信号与线程的关系253
6.9.1线程之间共享信号处理函数254
6.9.2线程有独立的阻塞信号掩码255
6.9.3私有挂起信号和共享挂起信号257
6.9.4致命信号下,进程组全体退出260
6.10等待信号260
6.10.1pause函数261
6.10.2sigsuspend函数262
6.10.3sigwait函数和sigwaitinfo函数263
6.11通过文件描述符来获取信号265
6.12信号递送的顺序267
6.13异步信号安全272
6.14总结275
第7章理解Linux线程(1)276
7.1线程与进程276
7.2进程ID和线程ID281
7.3pthread库接口介绍284
7.4线程的创建和标识285
7.4.1pthread_create函数285
7.4.2线程ID及进程地址空间布局286
7.4.3线程创建的默认属性291
7.5线程的退出292
7.6线程的连接与分离293
7.6.1线程的连接293
7.6.2为什么要连接退出的线程295
7.6.3线程的分离299
7.7互斥量300
7.7.1为什么需要互斥量300
7.7.2互斥量的接口304
7.7.3临界区的大小305
7.7.4互斥量的性能306
7.7.5互斥锁的公平性310
7.7.6互斥锁的类型311
7.7.7死锁和活锁314
7.8读写锁316
7.8.1读写锁的接口317
7.8.2读写锁的竞争策略318
7.8.3读写锁总结323
7.9性能杀手:伪共享323
7.10条件等待328
7.10.1条件变量的创建和销毁328
7.10.2条件变量的使用329
第8章理解Linux线程(2)333
8.1线程取消333
8.1.1函数取消接口333
8.1.2线程清理函数335
8.2线程局部存储339
8.2.1使用NPTL库函数实现线程局部存储340
8.2.2使用__thread关键字实现线程局部存储342
8.3线程与信号343
8.3.1设置线程的信号掩码344
8.3.2向线程发送信号344
8.3.3多线程程序对信号的处理345
8.4多线程与fork()345
第9章进程间通信:管道349
9.1管道351
9.1.1管道概述351
9.1.2管道接口352
9.1.3关闭未使用的管道文件描述符356
9.1.4管道对应的内存区大小361
9.1.5shell管道的实现361
9.1.6与shell命令进行通信(popen)362
9.2命名管道FIFO365
9.2.1创建FIFO文件365
9.2.2打开FIFO文件366
9.3读写管道文件367
9.4使用管道通信的示例372
第10章进程间通信:System V IPC375
10.1System V IPC概述375
10.1.1标识符与IPC Key376
10.1.2IPC的公共数据结构379
10.2System V消息队列383
10.2.1创建或打开一个消息队列383
10.2.2发送消息385
10.2.3接收消息388
10.2.4控制消息队列390
10.3System V信号量391
10.3.1信号量概述391
10.3.2创建或打开信号量393
10.3.3操作信号量395
10.3.4信号量撤销值399
10.3.5控制信号量400
10.4System V共享内存402
10.4.1共享内存概述402
10.4.2创建或打开共享内存403
10.4.3使用共享内存405
10.4.4分离共享内存407
10.4.5控制共享内存408
第11章进程间通信:POSIX IPC410
11.1POSIX IPC概述411
11.1.1IPC对象的名字411
11.1.2创建或打开IPC对象413
11.1.3关闭和删除IPC对象414
11.1.4其他414
11.2POSIX消息队列415
11.2.1消息队列的创建、打开、关闭及删除415
11.2.2消息队列的属性418
11.2.3消息的发送和接收422
11.2.4消息的通知423
11.2.5I/O多路复用监控消息队列427
11.3POSIX信号量428
11.3.1创建、打开、关闭和删除有名信号量430
11.3.2信号量的使用431
11.3.3无名信号量的创建和销毁432
11.3.4信号量与futex433
11.4内存映射mmap436
11.4.1内存映射概述436
11.4.2内存映射的相关接口438
11.4.3共享文件映射439
11.4.4私有文件映射455
11.4.5共享匿名映射455
11.4.6私有匿名映射456
11.5POSIX共享内存456
11.5.1共享内存的创建、使用和删除457
11.5.2共享内存与tmpfs458
第12章网络通信:连接的建立462
12.1socket文件描述符462
12.2绑定IP地址463
12.2.1bind的使用464
12.2.2bind的源码分析465
12.3客户端连接过程468
12.3.1connect的使用468
12.3.2connect的源码分析469
12.4服务器端连接过程477
12.4.1listen的使用477
12.4.2listen的源码分析478
12.4.3accept的使用480
12.4.4accept的源码分析480
12.5TCP三次握手的实现分析483
12.5.1SYN包的发送483
12.5.2接收SYN包,发送SYN+ACK包485
12.5.3接收SYN+ACK数据包494
12.5.4接收ACK数据包,完成三次握手499
第13章网络通信:数据报文的发送505
13.1发送相关接口505
13.2数据包从用户空间到内核空间的流程506
13.3UDP数据包的发送流程510
13.4TCP数据包的发送流程517
13.5IP数据包的发送流程527
13.5.1ip_send_skb源码分析528
13.5.2ip_queue_xmit源码分析531
13.6底层模块数据包的发送流程532
第14章网络通信:数据报文的接收536
14.1系统调用接口536
14.2数据包从内核空间到用户空间的流程537
14.3UDP数据包的接收流程540
14.4TCP数据包的接收流程544
14.5TCP套接字的三个接收队列553
14.6从网卡到套接字556
14.6.1从硬中断到软中断556
14.6.2软中断处理557
14.6.3传递给协议栈流程559
14.6.4IP协议处理流程564
14.6.5大师的错误?原始套接字的接收568
14.6.6注册传输层协议571
14.6.7确定UDP套接字571
14.6.8确定TCP套接字576
第15章编写安全无错代码582
15.1不要用memcmp比较结构体582
15.2有符号数和无符号数的移位区别583
15.3数组和指针584
15.4再论数组首地址587
15.5“神奇”的整数类型转换588
15.6小心volatile的原子性误解589
15.7有趣的问题:“x == x”何时为假?591
15.8小心浮点陷阱593
15.8.1浮点数的精度限制593
15.8.2两个特殊的浮点值593
15.9Intel移位指令陷阱595

Introduction

为什么要写这本书
我从事Linux环境的开发工作已有近十年的时间,但我一直认为工作时间并不等于经验,更不等于能力。如何才能把工作时间转换为自己的经验和能力呢?我认为无非是多阅读、多思考、多实践、多分享。这也是我在ChinaUnix上的博客座右铭,目前我的博客一共有247篇博文,记录的大都是Linux内核网络部分的源码分析,以及相关的应用编程。机械工业出版社华章公司的Lisa正是通过我的博客找到我的,而这也促成了本书的出版。
其实在Lisa之前,就有另外一位编辑与我聊过,但当时我没有下好决心,认为自己无论是在技术水平,还是时间安排上,都不足以完成一本技术图书的创作。等到与Lisa洽谈的时候,我感觉自己的技术已经有了一些沉淀,同时时间也相对比较充裕,因此决定开始撰写自己技术生涯的第一本书。
对于Linux环境的开发人员,《Unix环境高级编程》(后文均简称为APUE)无疑是最为经典的入门书籍。其作者Stevens是我从业以来最崇拜的技术专家。他的Advanced Programming in the Unix Environment、Unix Network Programming系列及TCP/IP Illustrated系列著作,字字珠玑,本本经典。在我从业的最初几年,这几本书每本都阅读了好几遍,而这也为我进行Linux用户空间的开发奠定了坚实的基础。在掌握了这些知识以后,如何继续提高自己的技能呢?经过一番思考,我选择了阅读Linux内核源码,并尝试将内核与应用融会贯通。在阅读了一定量的内核源码之后,我才真正理解了Linux专家的这句话“Read the fucking codes”。只有阅读了内核源码,才能真正理解Linux内核的原理和运行机制,而此时,我也发现了Stevens著作的一个局限—APUE和UNP毕竟是针对Unix环境而写的,Linux虽然大部分与Unix兼容,但是在很多行为上与Unix还是完全不同的。这就导致了书中的一些内容与Linux环境中的实际效果是相互矛盾的。
现在有机会来写一本技术图书,我就想在向Stevens致敬的同时,写一本类似于APUE风格的技术图书,同时还要在Linux环境下,对APUE进行突破。大言不惭地说,我期待这本书可以作为APUE的补充,还可以作为Linux开发人员的进阶读物。事实上,本书的写作布局正是以APUE的章节作为参考,针对Linux环境,不仅对用户空间的接口进行阐述,同时还引导读者分析该接口在内核的源码实现,使得读者不仅可以知道接口怎么用,同时还可以理解接口是怎么工作的。对于Linux的系统调用,做到知其然,知其所以然。
读者对象
根据本书的内容,我觉得适合以下几类读者:
在Linux应用层方面有一定开发经验的程序员。
对Linux内核有兴趣的程序员。
热爱Linux内核和开源项目的技术人员。
如何阅读本书
本书定位为APUE的补充或进阶读物,所以假设读者已具备了一定的编程基础,对Linux环境也有所了解,因此在涉及一些基本概念和知识时,只是蜻蜓点水,简单略过。因为笔者希望把更多的笔墨放在更为重要的部分,而不是各种相关图书均有讲解的基本概念上。所以如果你是初学者,建议还是先学习APUE、C语言编程,并且在具有一定的操作系统知识后再来阅读本书。
Linux环境编程涉及的领域太多,很难有某个人可以在Linux的各个领域均有比较深刻的认识,尤其是已有APUE这本经典图书在前,所以本书是由高峰、李彬两个人共同完成的。
高峰负责第0、1、2、3、4、12、13、14、15章,李彬负责第5~11章。两位不同的作者,在写作风格上很难保证一致,如果给各位读者带来了不便,在此给各位先道个歉。尽管是由两个人共同写作,并且负责的还是我们各自相对擅长的领域,可是在写作的过程中我们仍然感觉到很吃力,用了将近三年的时间才算完成本书。对比APUE,本书一方面在深度上还是有所不及,另一方面在广度上还是没有涵盖APUE涉及的所有领域,这也让我们对Stevens大师更加敬佩。
本书使用的Linux内核源代码版本为3.2.44,glibc的源码版本为2.17。
勘误和支持
由于作者的水平有限,主题又过于宏大,书中难免会出现一些错误或不准确的地方,如有不妥之处,恳请读者批评指正。如果你发现有什么问题,或者有什么疑问,都可以发邮件至我的邮箱gfree.wind@gmail.com,期待您的指导!
致谢
首先要感谢伟大的Linux内核创始人Linus,他开创了一个影响世界的操作系统。
其次要感谢机械工业出版社华章公司的编辑杨绣国老师(Lisa),感谢你的魄力,敢于找新人来写作,并敢于信任新人,让其完成这么大的一个项目。感谢你的耐心,正常的一年半的写作时间,被我们生生地延长到了将近三年的时间,感谢你在写作过程中对我们的鼓励和帮助。
然后要感谢我的搭档李彬,在我加入当前的创业公司后,只有很少的空闲时间和精力来投入写作。这时,是李彬在更紧张的时间内,承担了本书的一半内容。并且其写作态度极其认真,对质量精益求精。没有李彬的加入,本书很可能就半途而废了。再次感谢李彬,我的好搭档。
最后我要感谢我的亲人。感谢我的父母,没有你们的培养,绝没有我的今天;感谢我的妻子,没有你的支持,就没有我事业上的进步;感谢我的岳父岳母对我女儿的照顾,使我没有后顾之忧;最后要感谢的是我可爱的女儿高一涵小天使,你的诞生为我带来了无尽的欢乐和动力!
谨以此书,献给我最亲爱的家人,以及众多热爱Linux的朋友们。
高峰
中国北京
2016年3月


Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book